Messages in this thread | | | Date | Wed, 16 Mar 2022 16:25:25 -0700 | From | Nathan Chancellor <> | Subject | Re: [PATCH] soc: qcom: smem: use correct format characters |
| |
On Wed, Mar 16, 2022 at 04:17:06PM -0700, Trilok Soni wrote: > On 3/16/2022 2:31 PM, Bill Wendling wrote: > > When compiling with -Wformat, clang emits the following warnings: > > > > I thought we have -Wno-format by default enabled for arm64, isn't it?
Yes, -Wformat is turned off for clang in the default kernel build on all architectures (see scripts/Makefile.extrawarn). However, it can easily be enabled with W=1 and we should eventually get this turned on for clang like gcc so that developers who only use clang can catch instances of it.
Cheers, Nathan
| |