[lkml]   [2019]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH -mmotm/-next] fs: fs_parser: fix printk format warning
On Sat, Feb 9, 2019 at 4:21 AM Randy Dunlap <> wrote:
> From: Randy Dunlap <>
> Fix printk format warning (seen on i386 builds) by using ptrdiff
> format specifier (%t):
> ../fs/fs_parser.c:413:6: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘int’ [-Wformat=]

Now seen in upstream on all 32-bit platforms, I guess.

> Signed-off-by: Randy Dunlap <>
> Cc: David Howells <>
> Cc: Alexander Viro <>

Acked-by: Geert Uytterhoeven <>



Geert Uytterhoeven -- There's lots of Linux beyond ia32 --

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

 \ /
  Last update: 2019-03-14 10:09    [W:0.037 / U:6.996 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site