]> git.baikalelectronics.ru Git - kernel.git/commit
mm: constify page_is_pfmemalloc() argument
authorAlexander Lobakin <alobakin@pm.me>
Tue, 2 Feb 2021 13:30:54 +0000 (13:30 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 5 Feb 2021 02:20:13 +0000 (18:20 -0800)
commit311e3302e5010c30963dcd13782d6b7b358961b4
tree7c56fb59585b809562602f1619f450b18a7a02f6
parentfecc87d0aa5602dc88513e79c9933bf22310fc54
mm: constify page_is_pfmemalloc() argument

The function only tests for page->index, so its argument should be
const.

Signed-off-by: Alexander Lobakin <alobakin@pm.me>
Reviewed-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/linux/mm.h