From: Arnd Bergmann Date: Wed, 3 Apr 2013 15:18:24 +0000 (+0000) Subject: sysfs: fix crash_notes_size build warning X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~138^2~7 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcfb87fb75fa3a9b96c8a73d19166897d167fe3f;p=pandora-kernel.git 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 Signed-off-by: Arnd Bergmann Cc: Zhang Yanfei Cc: Simon Horman Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed