From: Jakub Kicinski Date: Fri, 29 Mar 2024 19:22:31 +0000 (-0700) Subject: Merge branch 'enabled-wformat-truncation-for-clang' X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=45e0ba9c1578d960ab950384222f5459e85f7892;p=linux.git Merge branch 'enabled-wformat-truncation-for-clang' Arnd Bergmann says: ==================== enabled -Wformat-truncation for clang With randconfig build testing, I found only eight files that produce warnings with clang when -Wformat-truncation is enabled. This means we can just turn it on by default rather than only enabling it for "make W=1". Unfortunately, gcc produces a lot more warnings when the option is enabled, so it's not yet possible to turn it on both compilers. ==================== Link: https://lore.kernel.org/r/20240326223825.4084412-1-arnd@kernel.org Signed-off-by: Jakub Kicinski --- 45e0ba9c1578d960ab950384222f5459e85f7892