From: Greg KH <gregkh@linuxfoundation.org>
To: KernelCI bot <bot@kernelci.org>
Cc: kernelci-results@groups.io, stable@vger.kernel.org, gus@collabora.com
Subject: Re: stable-rc/linux-5.10.y: new build regression: passing 'const struct net *' to parameter of type 'struc...
Date: Tue, 4 Feb 2025 11:43:33 +0100 [thread overview]
Message-ID: <2025020423-quickness-feeble-90c1@gregkh> (raw)
In-Reply-To: <CACo-S-2UhmehXF0AEA1rco9AckS7nDpOSRwZrAK4ba-b1Tj9-A@mail.gmail.com>
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
prev parent reply other threads:[~2025-02-04 10:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2025020423-quickness-feeble-90c1@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=bot@kernelci.org \
--cc=gus@collabora.com \
--cc=kernelci-results@groups.io \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox