Skip to contentSkip to conversation

init-clean-up-early_param_on_off-macro.patch removed from -mm tree

merged [email protected] 1 participant 1 message Feb 27, 2021

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: init: clean up early_param_on_off() macro
has been removed from the -mm tree. Its filename was
init-clean-up-early_param_on_off-macro.patch

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

------------------------------------------------------
From: Masahiro Yamada <[email protected]>
Subject: init: clean up early_param_on_off() macro

Use early_param() to define early_param_on_off().

---

 include/linux/init.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/linux/init.h renamed from include/linux/init.h~init-clean-up-early_param_on_off-macro +2 -2
@@ -338,14 +338,14 @@ struct obs_kernel_param {
 		var = 1;						\
 		return 0;						\
 	}								\
-	__setup_param(str_on, parse_##var##_on, parse_##var##_on, 1);	\
+	early_param(str_on, parse_##var##_on);				\
 									\
 	static int __init parse_##var##_off(char *arg)			\
 	{								\
 		var = 0;						\
 		return 0;						\
 	}								\
-	__setup_param(str_off, parse_##var##_off, parse_##var##_off, 1)
+	early_param(str_off, parse_##var##_off)
 
 /* Relies on boot_command_line being set */
 void __init parse_early_param(void);

_

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

init-kconfig-make-compile_test-depend-on-has_iomem.patch