From: Alan Cox Date: Wed, 25 Aug 2010 12:26:32 +0000 (+0100) Subject: ceph: Fix warnings X-Git-Tag: v2.6.36-rc3~12^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad8453ab0a5b98884074302ba3cc37664791e261;p=pandora-kernel.git ceph: Fix warnings Just scrubbing some warnings so I can see real problem ones in the build noise. For 32bit we need to coax gcc politely into believing we really honestly intend to the casts. Using (u64)(unsigned long) means we cast from a pointer to a type of the right size and then extend it. This stops the warning spew. Signed-off-by: Alan Cox Signed-off-by: Sage Weil --- Reading git-diff-tree failed