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 |