Skip to contentSkip to conversation

sh-fix-build-error-in-mm-initc.patch removed from -mm tree

merged [email protected] 1 participant 1 message Apr 23, 2020

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: sh: fix build error in mm/init.c
has been removed from the -mm tree. Its filename was
sh-fix-build-error-in-mm-initc.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Masahiro Yamada <[email protected]>
Subject: sh: fix build error in mm/init.c

The closing parenthesis is missing.

Fixes bfeb022f8fe4 ("mm/memory_hotplug: add pgprot_t to mhp_params")
Cc Stephen Rothwell <[email protected]>
Cc Guenter Roeck <[email protected]>
Cc Yoshinori Sato <[email protected]>
Cc Rich Felker <[email protected]>

---

 arch/sh/mm/init.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/sh/mm/init.c renamed from arch/sh/mm/init.c~sh-fix-build-error-in-mm-initc +1 -1
@@ -412,7 +412,7 @@ int arch_add_memory(int nid, u64 start,
 	unsigned long nr_pages = size >> PAGE_SHIFT;
 	int ret;
 
-	if (WARN_ON_ONCE(params->pgprot.pgprot != PAGE_KERNEL.pgprot)
+	if (WARN_ON_ONCE(params->pgprot.pgprot != PAGE_KERNEL.pgprot))
 		return -EINVAL;
 
 	/* We only have ZONE_NORMAL, so this is easy.. */

_

Patches currently in -mm which might be from [email protected] are