Re: [PATCH] binfmt_flat: fix format string for u32

2017-07-10 Thread Joe Perches
On Mon, 2017-07-10 at 13:08 +0200, Arnd Bergmann wrote: > The types have changed from 'unsigned long' to 'u32', so now the > format string is wrong, and produces a harmless warning on arm32: [] > This changes it to '%d' instead, matching the 'u32' type. [] > diff --git a/fs/binfmt_flat.c b/fs/binfm

[PATCH] binfmt_flat: fix format string for u32

2017-07-10 Thread Arnd Bergmann
The types have changed from 'unsigned long' to 'u32', so now the format string is wrong, and produces a harmless warning on arm32: arm-soc/fs/binfmt_flat.c: In function 'load_flat_file': arm-soc/fs/binfmt_flat.c:577:25: error: format '%ld' expects argument of type 'long int', but argument 2 has t