From: "tip-bot2 for Anuradha Weeraman" <tip-bot2@linutronix.de>
To: linux-tip-commits@vger.kernel.org
Cc: Anuradha Weeraman <anuradha@debian.org>,
Ingo Molnar <mingo@kernel.org>,
x86@kernel.org, linux-kernel@vger.kernel.org
Subject: [tip: x86/asm] x86/lib: Fix compiler and kernel-doc warnings
Date: Tue, 03 Jan 2023 17:53:27 -0000 [thread overview]
Message-ID: <167276840783.4906.14619707136056889151.tip-bot2@tip-bot2> (raw)
In-Reply-To: <20230103114725.108431-1-anuradha@debian.org>
The following commit has been merged into the x86/asm branch of tip:
Commit-ID: 65c24d7b0f9142c6acc9bd6dabeba22767077681
Gitweb: https://git.kernel.org/tip/65c24d7b0f9142c6acc9bd6dabeba22767077681
Author: Anuradha Weeraman <anuradha@debian.org>
AuthorDate: Tue, 03 Jan 2023 17:17:24 +05:30
Committer: Ingo Molnar <mingo@kernel.org>
CommitterDate: Tue, 03 Jan 2023 18:46:21 +01:00
x86/lib: Fix compiler and kernel-doc warnings
Fix the following W=1 warnings:
arch/x86/lib/cmdline.c:
- Include <asm/cmdline.h> to fix missing-prototypes warnings.
- Update comment for __cmdline_find_option_bool to fix a kernel-doc warning.
Signed-off-by: Anuradha Weeraman <anuradha@debian.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20230103114725.108431-1-anuradha@debian.org
---
arch/x86/lib/cmdline.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/x86/lib/cmdline.c b/arch/x86/lib/cmdline.c
index b6da093..80570eb 100644
--- a/arch/x86/lib/cmdline.c
+++ b/arch/x86/lib/cmdline.c
@@ -7,16 +7,18 @@
#include <linux/string.h>
#include <linux/ctype.h>
#include <asm/setup.h>
+#include <asm/cmdline.h>
static inline int myisspace(u8 c)
{
return c <= ' '; /* Close enough approximation */
}
-/**
+/*
* Find a boolean option (like quiet,noapic,nosmp....)
*
* @cmdline: the cmdline string
+ * @max_cmdline_size: the maximum size of cmdline
* @option: option string to look for
*
* Returns the position of that @option (starts counting with 1)
prev parent reply other threads:[~2023-01-03 17:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-03 11:47 [PATCH] " Anuradha Weeraman
2023-01-03 17:02 ` [tip: x86/asm] " tip-bot2 for Anuradha Weeraman
2023-01-03 17:53 ` tip-bot2 for Anuradha Weeraman [this message]
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=167276840783.4906.14619707136056889151.tip-bot2@tip-bot2 \
--to=tip-bot2@linutronix.de \
--cc=anuradha@debian.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=x86@kernel.org \
/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
all inboxes | Powered by JetHome®