[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211220035448.12054-1-yajun.deng@linux.dev>
Date: Mon, 20 Dec 2021 11:54:48 +0800
From: Yajun Deng <yajun.deng@...ux.dev>
To: keescook@...omium.org, samitolvanen@...gle.com, ojeda@...nel.org,
masahiroy@...nel.org, elver@...gle.com
Cc: linux-kernel@...r.kernel.org, Yajun Deng <yajun.deng@...ux.dev>
Subject: [PATCH] init: fix the wrong __setup_param() definition
The parameters in __setup_param() should be four rather than three when
MODULE isn't definited.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Yajun Deng <yajun.deng@...ux.dev>
---
include/linux/init.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/init.h b/include/linux/init.h
index d82b4b2e1d25..62a77850f10e 100644
--- a/include/linux/init.h
+++ b/include/linux/init.h
@@ -355,7 +355,7 @@ void __init parse_early_options(char *cmdline);
#else /* MODULE */
-#define __setup_param(str, unique_id, fn) /* nothing */
+#define __setup_param(str, unique_id, fn, early)/* nothing */
#define __setup(str, func) /* nothing */
#endif
--
2.32.0
Powered by blists - more mailing lists