Re: [PATCH] module: fix elf_validity_check() warns seen on 32-bit platforms

From: Luis Chamberlain
Date: Thu Oct 14 2021 - 15:52:22 EST


On Thu, Oct 14, 2021 at 12:10:44PM -0600, Shuah Khan wrote:
> Fix the following warnings introduced by
>
> commit: 8b1185a4427b ("module: change to print useful messages from elf_validity_check()")
>
> warning: format '%llu' expects argument of type 'long long unsigned int',
> but argument 3 has type 'Elf32_Off' {aka 'unsigned int'}
>
> Fix it by tweaking messages to not print ELF64* fields.
>
> Fixes: 8b1185a4427b ("module: change to print useful messages from elf_validity_check()")
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Signed-off-by: Shuah Khan <skhan@xxxxxxxxxxxxxxxxxxx>

Actually can I trouble you just fold this in with your older patch, I can just
drop your old patch and merge this one. No point in merging two patches
if we can just have one.

Luis