mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ARM: atags: Be silent about missing ATAGs
@ 2024-09-29 21:21 Paul Kocialkowski
  0 siblings, 0 replies; only message in thread
From: Paul Kocialkowski @ 2024-09-29 21:21 UTC (permalink / raw)
  To: linux-arm-kernel, linux-kernel
  Cc: Russell King, Kees Cook, Gustavo A . R . Silva, Justin Stitt,
	Paul Kocialkowski

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-09-29 21:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-29 21:21 [PATCH] ARM: atags: Be silent about missing ATAGs Paul Kocialkowski

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®