stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* stable-rc/linux-5.4.y: new build regression: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ...
@ 2025-02-04  0:27 KernelCI bot
  2025-02-04 10:36 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: KernelCI bot @ 2025-02-04  0:27 UTC (permalink / raw)
  To: kernelci-results; +Cc: stable, gus

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


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

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: stable-rc/linux-5.4.y: new build regression: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ...
  2025-02-04  0:27 stable-rc/linux-5.4.y: new build regression: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before KernelCI bot
@ 2025-02-04 10:36 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2025-02-04 10:36 UTC (permalink / raw)
  To: KernelCI bot; +Cc: kernelci-results, stable, gus

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-02-04 10:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-04  0:27 stable-rc/linux-5.4.y: new build regression: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before KernelCI bot
2025-02-04 10:36 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).