From: Yajun Deng <yajun.deng@linux.dev>
To: keescook@chromium.org, samitolvanen@google.com, ojeda@kernel.org,
masahiroy@kernel.org, elver@google.com
Cc: linux-kernel@vger.kernel.org, Yajun Deng <yajun.deng@linux.dev>
Subject: [PATCH] init: fix the wrong __setup_param() definition
Date: Mon, 20 Dec 2021 11:54:48 +0800 [thread overview]
Message-ID: <20211220035448.12054-1-yajun.deng@linux.dev> (raw)
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@linux.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
next reply other threads:[~2021-12-20 3:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-20 3:54 Yajun Deng [this message]
2021-12-20 11:20 ` [PATCH] init: fix the wrong __setup_param() definition Marco Elver
2021-12-21 2:08 ` yajun.deng
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211220035448.12054-1-yajun.deng@linux.dev \
--to=yajun.deng@linux.dev \
--cc=elver@google.com \
--cc=keescook@chromium.org \
--cc=linux-kernel@vger.kernel.org \
--cc=masahiroy@kernel.org \
--cc=ojeda@kernel.org \
--cc=samitolvanen@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox