https://github.com/torvalds/linux
Revision 7c5d62388e88729775b10a1748f2810e413f1e51 authored by Jens Axboe on 08 November 2012, 06:58:53 UTC, committed by Jens Axboe on 23 November 2012, 13:32:55 UTC
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>
1 parent 4b9e884
History
Tip revision: 7c5d62388e88729775b10a1748f2810e413f1e51 authored by Jens Axboe on 08 November 2012, 06:58:53 UTC
mtip32xx: fix shift larger than type warning
Tip revision: 7c5d623
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 92.7 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 222.9 KB
Makefile -rw-r--r-- 46.6 KB
README -rw-r--r-- 18.2 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top