commit | 7c5d62388e88729775b10a1748f2810e413f1e51 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Thu Nov 08 07:58:53 2012 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Nov 23 14:32:55 2012 +0100 |
tree | 4d4d2cf8252a32f75a0c8b672ad921e161fa4cc1 | |
parent | 4b9e884523f63f7bfd6fcbcdfe6f9f9545d98c13 [diff] |
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 <axboe@kernel.dk>