Skip to contentSkip to conversation

ARM: atags: Be silent about missing ATAGs

PATCH New Paul Kocialkowski 1 participant 1 message Sep 29, 2024 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: atags: Be silent about missing ATAGs

From: Paul Kocialkowski <[email protected]>

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.

---
 arch/arm/kernel/atags_proc.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
arch/arm/kernel/atags_proc.c +1 -3
index cd09f8ab93e3..6643fffecfb7 100644
@@ -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))
 		;
Signature · 1 line
2.46.2