git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b9e884
)
mtip32xx: fix shift larger than type warning
author
Jens Axboe
<axboe@kernel.dk>
Thu, 8 Nov 2012 06:58:53 +0000
(07:58 +0100)
committer
Jens Axboe
<axboe@kernel.dk>
Fri, 23 Nov 2012 13:32:55 +0000
(14:32 +0100)
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>
No differences found