]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/hwpoison: change argument struct page **hpagep to *hpage
authorMiaohe Lin <linmiaohe@huawei.com>
Mon, 23 Aug 2021 23:59:27 +0000 (09:59 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 25 Aug 2021 23:34:07 +0000 (09:34 +1000)
commitf139fae2fee54ecf6893687519840fa30733e88d
tree171c8c09d63bfd540a0ab33021e3ea9da33f9b87
parent01da0ad257ab7c166716edda22deeee2a3830c2e
mm/hwpoison: change argument struct page **hpagep to *hpage

It's unnecessary to pass in a struct page **hpagep because it's never
modified.  Changing to use *hpage to simplify the code.

Link: https://lkml.kernel.org/r/20210814105131.48814-4-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Acked-by: Naoya Horiguchi <naoya.horiguchi@nec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
mm/memory-failure.c