Re: [GIT PULL] more printk for 6.15
From: Linus Torvalds
Date: Wed Apr 02 2025 - 13:13:00 EST
On Wed, 2 Apr 2025 at 05:58, Petr Mladek <pmladek@xxxxxxxx> wrote:
>
> please pull few more printk-related changes from
Pulled. However, I reacted to this mess:
+#pragma GCC diagnostic push
+#ifndef __clang__
+#pragma GCC diagnostic ignored "-Wsuggest-attribute=format"
+#endif
do we really need a "#ifndef __clang__" there? It's "#pragma GCC"
after all, and the diagnostic push/pop are done unconditionally.
I can well imagine that yes, we need it for some strange and stupid
reason, but it looks wrong, and the commit message doesn't explain why
we'd need it.
And once again the "Link" is completely useless and doesn't point to
any explanation, only points to the submission that has all the same
info.
I hate those things. The disappointment is real: "Oh, an explanation"
followed by "No, just useless noise, doing a google search would
almost certainly have been more productive".
Linus