aboutsummaryrefslogtreecommitdiff
path: root/fs/efivarfs
diff options
context:
space:
mode:
authorGravatar Dan Carpenter <dan.carpenter@oracle.com> 2013-06-19 10:08:10 +1000
committerGravatar Al Viro <viro@zeniv.linux.org.uk> 2013-06-29 12:57:35 +0400
commit642b704cd7a29be0b8900971eb525086c1c995b7 (patch)
tree616b89d759f128c01e967ed64fd7c7da1b763dcf /fs/efivarfs
parentsplice: lift checks from do_splice_from() into callers (diff)
downloadlinux-642b704cd7a29be0b8900971eb525086c1c995b7.tar.gz
linux-642b704cd7a29be0b8900971eb525086c1c995b7.tar.bz2
linux-642b704cd7a29be0b8900971eb525086c1c995b7.zip
minix: bug widening a binary "not" operation
"chunk_size" is an unsigned int and "pos" is an unsigned long. The "& ~(chunk_size-1)" operation clears the high 32 bits unintentionally. The ALIGN() macro does the correct thing. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs/efivarfs')
0 files changed, 0 insertions, 0 deletions