diff options
| author | Heiko Carstens <[email protected]> | 2011-09-22 17:34:33 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2011-09-26 23:21:15 +0000 |
| commit | c4253cb0748cd50060d04d838c38b07f1ad0e6e5 (patch) | |
| tree | d6a1e256622a8cb48ff093e5fc7351ce76749262 /lib/dynamic_debug.c | |
| parent | drivers: base: print rejected matches with DEBUG_DRIVER (diff) | |
| download | kernel-c4253cb0748cd50060d04d838c38b07f1ad0e6e5.tar.gz kernel-c4253cb0748cd50060d04d838c38b07f1ad0e6e5.zip | |
sysfs: add unsigned long cast to prevent compile warning
"sysfs: use rb-tree for inode number lookup" added a new printk which
causes a new compile warning on s390 (and few other architectures):
fs/sysfs/dir.c: In function 'sysfs_link_sibling':
fs/sysfs/dir.c:63:4: warning: format '%lx' expects argument of type
'long unsigned int', but argument 2 has type 'ino_t' [-Wform
Add an explicit unsigned long cast since ino_t is an unsigned long on
most architectures.
Cc: Mikulas Patocka <[email protected]>
Signed-off-by: Heiko Carstens <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions
