[folded-merged] mm-factor-helpers-for-memory_failure_dev_pagemap-fix-fix.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The quilt patch titled
     Subject: mm/memory-failure: fix redefinition of mf_generic_kill_procs
has been removed from the -mm tree.  Its filename was
     mm-factor-helpers-for-memory_failure_dev_pagemap-fix-fix.patch

This patch was dropped because it was folded into mm-factor-helpers-for-memory_failure_dev_pagemap.patch

------------------------------------------------------
From: Zheng Bin <zhengbin13@xxxxxxxxxx>
Subject: mm/memory-failure: fix redefinition of mf_generic_kill_procs
Date: Tue, 28 Jun 2022 19:21:43 +0800

If CONFIG_HUGETLB_PAGE=n, building fails:

mm/memory-failure.c:1805:19: error: redefinition of `mf_generic_kill_procs'
 static inline int mf_generic_kill_procs(unsigned long long pfn, int flags,
                   ^~~~~~~~~~~~~~~~~~~~~
mm/memory-failure.c:1564:12: note: previous definition of `mf_generic_kill_procs' was here
 static int mf_generic_kill_procs(unsigned long long pfn, int flags,

This patch fixes that.

Link: https://lkml.kernel.org/r/20220628112143.1170473-1-zhengbin13@xxxxxxxxxx
Fixes: 4184e8d7d056 ("mm-factor-helpers-for-memory_failure_dev_pagemap-fix")
Signed-off-by: Zheng Bin <zhengbin13@xxxxxxxxxx>
Cc: Shiyang Ruan <ruansy.fnst@xxxxxxxxxxx>
Cc: Naoya Horiguchi <naoya.horiguchi@xxxxxxx>
Cc: Miaohe Lin <linmiaohe@xxxxxxxxxx>
Cc: gaochao <gaochao49@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/memory-failure.c |    7 -------
 1 file changed, 7 deletions(-)

--- a/mm/memory-failure.c~mm-factor-helpers-for-memory_failure_dev_pagemap-fix-fix
+++ a/mm/memory-failure.c
@@ -1725,13 +1725,6 @@ out:
 }
 
 #else
-
-static inline int mf_generic_kill_procs(unsigned long long pfn, int flags,
-					struct dev_pagemap *pgmap)
-{
-	return 0;
-}
-
 static inline int try_memory_failure_hugetlb(unsigned long pfn, int flags, int *hugetlb)
 {
 	return 0;
_

Patches currently in -mm which might be from zhengbin13@xxxxxxxxxx are

mm-factor-helpers-for-memory_failure_dev_pagemap.patch




[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux