Re: [PATCH -next] rcuperf: Fix printk format warning

From: Geert Uytterhoeven
Date: Tue Jun 02 2020 - 05:52:56 EST


On Fri, Apr 17, 2020 at 6:03 AM Kefeng Wang <wangkefeng.wang@xxxxxxxxxx> wrote:
> Using "%zu" to fix following warning,
> kernel/rcu/rcuperf.c: In function âkfree_perf_initâ:
> include/linux/kern_levels.h:5:18: warning: format â%luâ expects argument of type âlong unsigned intâ, but argument 2 has type âunsigned intâ [-Wformat=]
>
> Signed-off-by: Kefeng Wang <wangkefeng.wang@xxxxxxxxxx>

Acked-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>

Gr{oetje,eeting}s,

Geert


--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds