stable-rc/linux-5.15.y: new build regression: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

New build issue found on stable-rc/linux-5.15.y:

 expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__free’ in
drivers/soc/atmel/soc.o (drivers/soc/atmel/soc.c)
[logspec:kbuild,kbuild.compiler.error]

- Dashboard: https://staging.dashboard.kernelci.org:9000/issue/maestro:a7eccc80a8c5d40b2934f6b5b061391e2da155c4
- Grafana: https://grafana.kernelci.org/d/issue/issue?var-id=maestro:a7eccc80a8c5d40b2934f6b5b061391e2da155c4


Log excerpt:
drivers/soc/atmel/soc.c:367:32: error: expected ‘=’, ‘,’, ‘;’, ‘asm’
or ‘__attribute__’ before ‘__free’
  367 |         struct device_node *np __free(device_node) =
of_find_node_by_path("/");
      |                                ^~~~~~
drivers/soc/atmel/soc.c:367:32: error: implicit declaration of
function ‘__free’; did you mean ‘kfree’?
[-Werror=implicit-function-declaration]
  367 |         struct device_node *np __free(device_node) =
of_find_node_by_path("/");
      |                                ^~~~~~
      |                                kfree
drivers/soc/atmel/soc.c:367:39: error: ‘device_node’ undeclared (first
use in this function)
  367 |         struct device_node *np __free(device_node) =
of_find_node_by_path("/");
      |                                       ^~~~~~~~~~~
drivers/soc/atmel/soc.c:367:39: note: each undeclared identifier is
reported only once for each function it appears in
drivers/soc/atmel/soc.c:369:51: error: ‘np’ undeclared (first use in
this function); did you mean ‘nop’?
  369 |         if (!of_match_node(at91_soc_allowed_list, np))
      |                                                   ^~
      |                                                   nop
  AR      drivers/clk/mmp/built-in.a
cc1: some warnings being treated as errors
  CC      lib/fdt_strerror.o



# Builds where the incident occurred:

## multi_v7_defconfig(gcc-12):
- Dashboard: https://staging.dashboard.kernelci.org:9000/build/maestro:67a11ab8661a7bc87489ba81

## multi_v7_defconfig(gcc-12):
- Dashboard: https://staging.dashboard.kernelci.org:9000/build/maestro:67a11ac5661a7bc87489ba8a

## multi_v5_defconfig(gcc-12):
- Dashboard: https://staging.dashboard.kernelci.org:9000/build/maestro:67a11ac1661a7bc87489ba87


#kernelci issue maestro:a7eccc80a8c5d40b2934f6b5b061391e2da155c4


--
This is an experimental report format. Please send feedback in!
Talk to us at kerneci@xxxxxxxxxxxxxxx

Made with love by the KernelCI team - https://kernelci.org





[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux