stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* stable-rc/linux-5.10.y: new build regression: passing 'const struct net *' to parameter of type 'struc...
@ 2025-02-04  0:34 KernelCI bot
  2025-02-04 10:43 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: KernelCI bot @ 2025-02-04  0:34 UTC (permalink / raw)
  To: kernelci-results; +Cc: stable, gus

Hello,

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

 passing 'const struct net *' to parameter of type 'struct net *'
discards qualifiers
[-Werror,-Wincompatible-pointer-types-discards-qualifiers] in
net/ipv4/udp.o (net/ipv4/udp.c) [logspec:kbuild,kbuild.compiler.error]

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


Log excerpt:
net/ipv4/udp.c:447:29: error: passing 'const struct net *' to
parameter of type 'struct net *' discards qualifiers
[-Werror,-Wincompatible-pointer-types-discards-qualifiers]
  447 |                 score = compute_score(sk, net,
      |                                           ^~~
net/ipv4/udp.c:359:55: note: passing argument to parameter 'net' here
  359 | static int compute_score(struct sock *sk, struct net *net,
      |                                                       ^
1 error generated.



# Builds where the incident occurred:

## i386_defconfig+allmodconfig(clang-17):
- Dashboard: https://staging.dashboard.kernelci.org:9000/build/maestro:67a11a6a661a7bc87489b7d5

## x86_64_defconfig+allmodconfig(clang-17):
- Dashboard: https://staging.dashboard.kernelci.org:9000/build/maestro:67a11a3d661a7bc87489b7ae

## defconfig+allmodconfig(clang-17):
- Dashboard: https://staging.dashboard.kernelci.org:9000/build/maestro:67a11a31661a7bc87489b78d

## x86_64_defconfig(clang-17):
- Dashboard: https://staging.dashboard.kernelci.org:9000/build/maestro:67a11a39661a7bc87489b7a3

## defconfig+allmodconfig(clang-17):
- Dashboard: https://staging.dashboard.kernelci.org:9000/build/maestro:67a11a35661a7bc87489b798


#kernelci issue maestro:841ec27ef8554e3fda7cfd5babc4831387ac9e8e


--
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.10.y: new build regression: passing 'const struct net *' to parameter of type 'struc...
  2025-02-04  0:34 stable-rc/linux-5.10.y: new build regression: passing 'const struct net *' to parameter of type 'struc KernelCI bot
@ 2025-02-04 10:43 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2025-02-04 10:43 UTC (permalink / raw)
  To: KernelCI bot; +Cc: kernelci-results, stable, gus

On Mon, Feb 03, 2025 at 04:34:53PM -0800, KernelCI bot wrote:
> Hello,
> 
> New build issue found on stable-rc/linux-5.10.y:
> 
>  passing 'const struct net *' to parameter of type 'struct net *'
> discards qualifiers
> [-Werror,-Wincompatible-pointer-types-discards-qualifiers] in
> net/ipv4/udp.o (net/ipv4/udp.c) [logspec:kbuild,kbuild.compiler.error]
> 
> - Dashboard: https://staging.dashboard.kernelci.org:9000/issue/maestro:841ec27ef8554e3fda7cfd5babc4831387ac9e8e
> - Grafana: https://grafana.kernelci.org/d/issue/issue?var-id=maestro:841ec27ef8554e3fda7cfd5babc4831387ac9e8e
> 
> 
> Log excerpt:
> net/ipv4/udp.c:447:29: error: passing 'const struct net *' to
> parameter of type 'struct net *' discards qualifiers
> [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
>   447 |                 score = compute_score(sk, net,
>       |                                           ^~~
> net/ipv4/udp.c:359:55: note: passing argument to parameter 'net' here
>   359 | static int compute_score(struct sock *sk, struct net *net,
>       |                                                       ^
> 1 error generated.
> 

Now fixed, thanks.

greg k-h

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

end of thread, other threads:[~2025-02-04 10:43 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:34 stable-rc/linux-5.10.y: new build regression: passing 'const struct net *' to parameter of type 'struc KernelCI bot
2025-02-04 10:43 ` 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).