Message ID | 20240929212122.701125-1-paulk@sys-base.io (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | ARM: atags: Be silent about missing ATAGs | expand |
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)) ;