stable-rc/linux-5.10.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.10.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:066c374be95fc6671e95a97b08ffc502a95454b6
- Grafana: https://grafana.kernelci.org/d/issue/issue?var-id=maestro:066c374be95fc6671e95a97b08ffc502a95454b6


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



# Builds where the incident occurred:

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

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

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


#kernelci issue maestro:066c374be95fc6671e95a97b08ffc502a95454b6


--
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