]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm, hwpoison: make __page_handle_poison returns int
authorNaoya Horiguchi <naoya.horiguchi@nec.com>
Thu, 2 Jun 2022 05:06:29 +0000 (14:06 +0900)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Wed, 20 Jul 2022 00:15:04 +0000 (20:15 -0400)
commitc6068d616b3820523002fa59861fd83866a6f2e5
tree681530ef739c72a589b46896657e1d367d498a36
parentc728e549df5f89b5ce6fea7ccd5972f71a0d1a8c
mm, hwpoison: make __page_handle_poison returns int

__page_handle_poison() returns bool that shows whether
take_page_off_buddy() has passed or not now.  But we will want to
distinguish another case of "dissolve has passed but taking off failed" by
its return value.  So change the type of the return value.  No functional
change.

Link: https://lkml.kernel.org/r/20220602050631.771414-4-naoya.horiguchi@linux.dev
Signed-off-by: Naoya Horiguchi <naoya.horiguchi@nec.com>
Reviewed-by: Miaohe Lin <linmiaohe@huawei.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Liu Shixin <liushixin2@huawei.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Muchun Song <songmuchun@bytedance.com>
Cc: Oscar Salvador <osalvador@suse.de>
Cc: Yang Shi <shy828301@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/memory-failure.c