Re: [PATCH 1/2] pinctrl: nuvoton: npcm7xx: Use %zd printk format for ARRAY_SIZE()

From: Linus Walleij
Date: Thu Feb 10 2022 - 20:00:29 EST


On Wed, Feb 2, 2022 at 1:54 PM Jonathan Neuschäfer
<j.neuschaefer@xxxxxxx> 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@xxxxxxxxx>
> Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@xxxxxxx>

These two patches applied!

Yours,
Linus Walleij