]> git.baikalelectronics.ru Git - kernel.git/commit
mm/hwpoison: change argument struct page **hpagep to *hpage
authorMiaohe Lin <linmiaohe@huawei.com>
Thu, 2 Sep 2021 21:58:25 +0000 (14:58 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 3 Sep 2021 16:58:15 +0000 (09:58 -0700)
commit2388aa7937a22b28d9e97f9f48e2378ba1cdbb8e
tree8b8341b1310712d5b8572c871a3b01023f0d585a
parent4dac7af871975e80afcef9726b3d7e54fcec79ec
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: Linus Torvalds <torvalds@linux-foundation.org>
mm/memory-failure.c