mm/page_alloc: make bad_range() return bool
authorHao Ge <gehao@kylinos.cn>
Wed, 21 Feb 2024 07:32:27 +0000 (15:32 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 24 Feb 2024 01:48:34 +0000 (17:48 -0800)
commit5bb1421422fa8955e741097e6371a1d3d0a9e54e
tree24f7f62ce75d52f3b8a048123b945778d81cad38
parentcc864ebba5f612ce2960e7e09322a193e8fda0d7
mm/page_alloc: make bad_range() return bool

bad_range() can return bool, so let us change it.

Link: https://lkml.kernel.org/r/20240221073227.276234-1-gehao@kylinos.cn
Signed-off-by: Hao Ge <gehao@kylinos.cn>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/page_alloc.c