From: Paul Kocialkowski <paulk@sys-base.io>
To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org
Cc: Russell King <linux@armlinux.org.uk>, Kees Cook <kees@kernel.org>,
"Gustavo A . R . Silva" <gustavoars@kernel.org>,
Justin Stitt <justinstitt@google.com>,
Paul Kocialkowski <contact@paulk.fr>
Subject: [PATCH] ARM: atags: Be silent about missing ATAGs
Date: Sun, 29 Sep 2024 23:21:22 +0200 [thread overview]
Message-ID: <20240929212122.701125-1-paulk@sys-base.io> (raw)
From: Paul Kocialkowski <contact@paulk.fr>
While the ATAGs functionality is still available in the kernel, it has
been deprecated for a long time already and probably has very few users
left.
Stop printing a message when ATAGs are not found since this is now the
situation most users will expect.
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
---
arch/arm/kernel/atags_proc.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/arch/arm/kernel/atags_proc.c b/arch/arm/kernel/atags_proc.c
index cd09f8ab93e3..6643fffecfb7 100644
--- a/arch/arm/kernel/atags_proc.c
+++ b/arch/arm/kernel/atags_proc.c
@@ -41,10 +41,8 @@ static int __init init_atags_procfs(void)
struct buffer *b;
size_t size;
- if (tag->hdr.tag != ATAG_CORE) {
- pr_info("No ATAGs?\n");
+ if (tag->hdr.tag != ATAG_CORE)
return -EINVAL;
- }
for (; tag->hdr.size; tag = tag_next(tag))
;
--
2.46.2
reply other threads:[~2024-09-29 21:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20240929212122.701125-1-paulk@sys-base.io \
--to=paulk@sys-base.io \
--cc=contact@paulk.fr \
--cc=gustavoars@kernel.org \
--cc=justinstitt@google.com \
--cc=kees@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
/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®