]> git.baikalelectronics.ru Git - kernel.git/commit
fs: fs_parser: fix printk format warning
authorRandy Dunlap <rdunlap@infradead.org>
Fri, 29 Mar 2019 03:44:36 +0000 (20:44 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 29 Mar 2019 17:01:38 +0000 (10:01 -0700)
commitcc92e26d4ba0e4ed442e57a6afa95d359611e786
tree728353f69cefd25ace3093776b16f736083a63a6
parentd4b232e6e818bd0007d067f218489c1b4e16d577
fs: fs_parser: fix printk format warning

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=]

Link: http://lkml.kernel.org/r/19432668-ffd3-fbb2-af4f-1c8e48f6cc81@infradead.org
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: David Howells <dhowells@redhat.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/fs_parser.c