[PATCH 1/2] pinctrl: nuvoton: npcm7xx: Use %zd printk format for ARRAY_SIZE()
Linus Walleij
linus.walleij at linaro.org
Fri Feb 11 12:00:14 AEDT 2022
On Wed, Feb 2, 2022 at 1:54 PM Jonathan Neuschäfer
<j.neuschaefer at gmx.net> wrote:
> When compile-testing on 64-bit architectures, GCC complains about the
> mismatch of types between the %d format specifier and value returned by
> ARRAY_LENGTH(). Use %zd, which is correct everywhere.
>
> Reported-by: kernel test robot <lkp at intel.com>
> Signed-off-by: Jonathan Neuschäfer <j.neuschaefer at gmx.net>
These two patches applied!
Yours,
Linus Walleij
More information about the openbmc
mailing list