From: Dan Carpenter Date: Wed, 19 Jun 2013 00:08:10 +0000 (+1000) Subject: minix: bug widening a binary "not" operation X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~42^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=642b704cd7a29be0b8900971eb525086c1c995b7;p=pandora-kernel.git 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 Cc: Al Viro Signed-off-by: Andrew Morton --- Reading git-diff-tree failed