summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2012-11-08 10:58:53 +0400
committerJens Axboe <axboe@kernel.dk>2012-11-23 17:32:55 +0400
commit7c5d62388e88729775b10a1748f2810e413f1e51 (patch)
tree4d4d2cf8252a32f75a0c8b672ad921e161fa4cc1 /drivers/mtd
parent4b9e884523f63f7bfd6fcbcdfe6f9f9545d98c13 (diff)
downloadlinux-7c5d62388e88729775b10a1748f2810e413f1e51.tar.xz
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>
Diffstat (limited to 'drivers/mtd')
0 files changed, 0 insertions, 0 deletions