From: Jens Axboe Date: Thu, 8 Nov 2012 06:58:53 +0000 (+0100) Subject: mtip32xx: fix shift larger than type warning X-Git-Tag: v3.7-rc7~9^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c5d62388e88729775b10a1748f2810e413f1e51;p=pandora-kernel.git mtip32xx: fix shift larger than type warning If we're building a 32-bit kernel and CONFIG_LBADF isn't set, sector_t is 32-bits wide. The shifts by 32 and 40 are thus larger than we support. Cast the sector offset to a u64 to avoid these warnings. Signed-off-by: Jens Axboe --- Reading git-diff-tree failed