lkml.org 
[lkml]   [2013]   [Nov]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] scripts: kallsyms: Use %zu to print 'size_t'
On 8.11.2013 03:45, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
>
> Commit f3462aa95 (Kbuild: Handle longer symbols in kallsyms.c) introduced the
> following warning on ARM:
>
> scripts/kallsyms.c:121:4: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' [-Wformat]

Actually, every 32bit glibc seems to define size_t as unsigned int.

>
> Use %zu to print 'size_t'.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>

Thanks, applied to kbuild.git#kbuild.

Michal



\
 
 \ /
  Last update: 2013-11-08 10:41    [W:0.022 / U:1.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site