Messages in this thread | | | Date | Fri, 08 Nov 2013 10:12:07 +0100 | From | Michal Marek <> | Subject | Re: [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
| |