![](https://secure.gravatar.com/avatar/cb179c77d7ef828ce407a6f1741b47e0.jpg?s=120&d=mm&r=g)
10 Jun
2022
10 Jun
'22
12:25 a.m.
On Thu, 9 Jun 2022 22:16:19 +0000 Bill Wendling morbo@google.com wrote:
This patch set fixes some clang warnings when -Wformat is enabled.
tldr:
- printk(msg); + printk("%s", msg);
the only reason to make this change is where `msg' could contain a `%'. Generally, it came from userspace. Otherwise these changes are a useless consumer of runtime resources.
I think it would be better to quieten clang in some fashion.