[soc:soc/drivers 22/24] drivers/platform/cznic/turris-signing-key.c:25:55: warning: omitting the parameter name in a function definition is a C2x extension
Arnd Bergmann
arnd at arndb.de
Fri Mar 21 01:53:01 PDT 2025
On Fri, Mar 21, 2025, at 03:41, kernel test robot wrote:
> If you fix the issue in a separate patch/commit (i.e. not just a new
> version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp at intel.com>
> | Closes:
> https://lore.kernel.org/oe-kbuild-all/202503211042.Uf5Ln7hI-lkp@intel.com/
>
> All warnings (new ones prefixed by >>):
>
>>> drivers/platform/cznic/turris-signing-key.c:25:55: warning: omitting the parameter name in a function definition is a C2x extension [-Wc2x-extensions]
> 25 | static int turris_signing_key_instantiate(struct key *,
> struct key_preparsed_payload *)
> | ^
> drivers/platform/cznic/turris-signing-key.c:25:87: warning: omitting
> the parameter name in a function definition is a C2x extension
> [-Wc2x-extensions]
> 25 | static int turris_signing_key_instantiate(struct key *,
> struct key_preparsed_payload *)
> |
> ^
> 2 warnings generated.
I've added a fix for this to the tree now. I was surprised that clang
warns about it but gcc does not, and apparently this was changed with
gcc-12 no longer warning about it.
Arnd
More information about the linux-arm-kernel
mailing list