mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-02-05 18:57:51 +00:00
![Dan Carpenter](/assets/img/avatar_default.png)
"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>