diff options
author | Arnd Bergmann <arnd@arndb.de> | 2013-04-03 17:18:24 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-04-03 20:09:03 +0200 |
commit | bcfb87fb75fa3a9b96c8a73d19166897d167fe3f (patch) | |
tree | 6cad22b06686d50e0f771764e4aa922360caa617 /net/ethernet | |
parent | sysfs: fix use after free in case of concurrent read/write and readdir (diff) | |
download | linux-bcfb87fb75fa3a9b96c8a73d19166897d167fe3f.tar.xz linux-bcfb87fb75fa3a9b96c8a73d19166897d167fe3f.zip |
sysfs: fix crash_notes_size build warning
commit eca4549f57 "sysfs: Add crash_notes_size to export percpu
note size" adds a printk that outputs a size_t value as %lu
when it should be %zu, resulting in this warning.
drivers/base/cpu.c: In function 'show_crash_notes_size':
drivers/base/cpu.c:142:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=]
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
Cc: Simon Horman <horms@verge.net.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/ethernet')
0 files changed, 0 insertions, 0 deletions