On Mon, Feb 03, 2025 at 04:27:00PM -0800, KernelCI bot wrote: > Hello, > > New build issue found on stable-rc/linux-5.4.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:040dcc33328a47e528c393a656a52b340b4ccc8b > - Grafana: https://grafana.kernelci.org/d/issue/issue?var-id=maestro:040dcc33328a47e528c393a656a52b340b4ccc8b > > > Log excerpt: > drivers/soc/atmel/soc.c:277:32: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ > or ‘__attribute__’ before ‘__free’ > 277 | struct device_node *np __free(device_node) = > of_find_node_by_path("/"); > | ^~~~~~ > drivers/soc/atmel/soc.c:277:32: error: implicit declaration of > function ‘__free’; did you mean ‘kzfree’? > [-Werror=implicit-function-declaration] > 277 | struct device_node *np __free(device_node) = > of_find_node_by_path("/"); > | ^~~~~~ > | kzfree > drivers/soc/atmel/soc.c:277:39: error: ‘device_node’ undeclared (first > use in this function) > 277 | struct device_node *np __free(device_node) = > of_find_node_by_path("/"); > | ^~~~~~~~~~~ > drivers/soc/atmel/soc.c:277:39: note: each undeclared identifier is > reported only once for each function it appears in > drivers/soc/atmel/soc.c:279:51: error: ‘np’ undeclared (first use in > this function); did you mean ‘nop’? > 279 | if (!of_match_node(at91_soc_allowed_list, np)) > | ^~ > | nop > CC drivers/spi/spidev.o > cc1: some warnings being treated as errors > > > > # Builds where the incident occurred: > > ## multi_v7_defconfig(gcc-12): > - Dashboard: https://staging.dashboard.kernelci.org:9000/build/maestro:67a119e4661a7bc87489b6f5 > > ## multi_v5_defconfig(gcc-12): > - Dashboard: https://staging.dashboard.kernelci.org:9000/build/maestro:67a119e0661a7bc87489b6f2 > > ## multi_v7_defconfig(gcc-12): > - Dashboard: https://staging.dashboard.kernelci.org:9000/build/maestro:67a119d8661a7bc87489b4f0 > > > #kernelci issue maestro:040dcc33328a47e528c393a656a52b340b4ccc8b Now fixed for 5.4, 5.10, and 5.15, thanks! greg k-h