[Skiboot] [PATCH] gard: Fix printf warning

Stewart Smith stewart at linux.vnet.ibm.com
Wed Nov 2 16:34:18 AEDT 2016


Joel Stanley <joel at jms.id.au> writes:
> With a modern GCC targetting ARM 32-bit:
>
>  gard.c: In function 'main':
>  gard.c:652:19: error: format '%lu' expects argument of type 'long
>  unsigned int', but argument 4 has type 'uint64_t {aka long long
>  unsigned int}' [-Werror=format=]
>     fprintf(stderr, "MTD device bigger than %i: size:%lu\n",
>
> Signed-off-by: Joel Stanley <joel at jms.id.au>

Thanks! Merged to master as of ed9c11c90d30484072a3d39d8b6660992699198e

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list