Re: [PATCH] sysfs: fix compile warning in i386

2013-04-03 Thread Greg KH
On Wed, Apr 03, 2013 at 12:22:06PM +0800, Zhang Yanfei wrote: > This patch fixes compile warning in i386: > > 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 'unsigne

[PATCH] sysfs: fix compile warning in i386

2013-04-02 Thread Zhang Yanfei
This patch fixes compile warning in i386: 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: Zhang