From: Heiko Carstens Date: Thu, 22 Sep 2011 17:34:33 +0000 (+0200) Subject: sysfs: add unsigned long cast to prevent compile warning X-Git-Tag: v3.2-rc1~184^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4253cb0748cd50060d04d838c38b07f1ad0e6e5;p=pandora-kernel.git 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 Signed-off-by: Heiko Carstens Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed