]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mm/madvise.c: use PAGE_ALIGN[ED] for range checking
authorWei Yang <richardw.yang@linux.intel.com>
Sun, 1 Dec 2019 01:57:46 +0000 (17:57 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 1 Dec 2019 20:59:09 +0000 (12:59 -0800)
commitdf6c6500b4416baead2a1e17d9a80b675775c1df
treeaa11812717961060c09aa1fc1988f21a29b86e97
parentd3cd257ce15bad10a86f5064433c9dda4d019697
mm/madvise.c: use PAGE_ALIGN[ED] for range checking

Improve readability, no functional change.

Link: http://lkml.kernel.org/r/20191118032857.22683-1-richardw.yang@linux.intel.com
Signed-off-by: Wei Yang <richardw.yang@linux.intel.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/madvise.c