stable-rc/linux-5.10.y: new build regression: passing 'const struct net *' to parameter of type 'struc...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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