mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-24 04:34:08 +08:00
d6f8168e43
On some platforms (i.e. arc, m68k and sparc) __fls returns an int (while
on most platforms it returns an unsigned long). This triggers a format
warning on these few platforms as the driver uses %ld to print a warning.
So explicitly cast the return value to unsigned long to make the warning
go away (and so fix allmodconfig build on the affected architectures).
Fixes:
|
||
---|---|---|
.. | ||
atom | ||
avs | ||
boards | ||
catpt | ||
common | ||
keembay | ||
skylake | ||
Kconfig | ||
Makefile |