linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* include/net/gro.h:413:22: error: implicit declaration of function 'csum_ipv6_magic
@ 2021-11-17 12:47 Naresh Kamboju
  2021-11-17 13:54 ` Denis Kirjanov
  0 siblings, 1 reply; 2+ messages in thread
From: Naresh Kamboju @ 2021-11-17 12:47 UTC (permalink / raw)
  To: Netdev, open list, Linux-Next Mailing List
  Cc: Stephen Rothwell, David S. Miller, Jakub Kicinski, lkft-triage

Regression found on riscv and arc gcc-11 build.
Following build warnings / errors reported on linux next 20211117.

metadata:
    git_describe: next-20211117
    git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
    git_short_log: fd96a4057bd0 (\"Add linux-next specific files for 20211117\")
    target_arch: riscv
    toolchain: gcc-11

build error :
--------------
In file included from net/core/dev.c:105:
include/net/gro.h: In function 'ip6_gro_compute_pseudo':
include/net/gro.h:413:22: error: implicit declaration of function
'csum_ipv6_magic'; did you mean 'csum_tcpudp_magic'?
[-Werror=implicit-function-declaration]
  return ~csum_unfold(csum_ipv6_magic(&iph->saddr, &iph->daddr,
                      ^~~~~~~~~~~~~~~
                      csum_tcpudp_magic
cc1: some warnings being treated as errors

Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>

link:
https://gitlab.com/Linaro/lkft/mirrors/next/linux-next/-/jobs/1790398957#L73

build link:
-----------
https://builds.tuxbuild.com/211schgBXkq5zjdda7io29wMONF/build.log

build config:
-------------
https://builds.tuxbuild.com/211schgBXkq5zjdda7io29wMONF/config

# To install tuxmake on your system globally
# sudo pip3 install -U tuxmake
tuxmake --runtime podman --target-arch riscv --toolchain gcc-11
--kconfig defconfig

-- 
Linaro LKFT
https://lkft.linaro.org

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

* Re: include/net/gro.h:413:22: error: implicit declaration of function 'csum_ipv6_magic
  2021-11-17 12:47 include/net/gro.h:413:22: error: implicit declaration of function 'csum_ipv6_magic Naresh Kamboju
@ 2021-11-17 13:54 ` Denis Kirjanov
  0 siblings, 0 replies; 2+ messages in thread
From: Denis Kirjanov @ 2021-11-17 13:54 UTC (permalink / raw)
  To: Naresh Kamboju, Netdev, open list, Linux-Next Mailing List
  Cc: Stephen Rothwell, David S. Miller, Jakub Kicinski, lkft-triage



11/17/21 3:47 PM, Naresh Kamboju пишет:
> Regression found on riscv and arc gcc-11 build.
> Following build warnings / errors reported on linux next 20211117.
> 
> metadata:
>      git_describe: next-20211117
>      git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
>      git_short_log: fd96a4057bd0 (\"Add linux-next specific files for 20211117\")
>      target_arch: riscv
>      toolchain: gcc-11
> 
> build error :
> --------------
> In file included from net/core/dev.c:105:
> include/net/gro.h: In function 'ip6_gro_compute_pseudo':
> include/net/gro.h:413:22: error: implicit declaration of function
> 'csum_ipv6_magic'; did you mean 'csum_tcpudp_magic'?
> [-Werror=implicit-function-declaration]
>    return ~csum_unfold(csum_ipv6_magic(&iph->saddr, &iph->daddr,
>                        ^~~~~~~~~~~~~~~
>                        csum_tcpudp_magic
> cc1: some warnings being treated as errors

See 
https://patchwork.kernel.org/project/netdevbpf/patch/20211117100130.2368319-1-eric.dumazet@gmail.com/

> 
> Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
> 
> link:
> https://gitlab.com/Linaro/lkft/mirrors/next/linux-next/-/jobs/1790398957#L73
> 
> build link:
> -----------
> https://builds.tuxbuild.com/211schgBXkq5zjdda7io29wMONF/build.log
> 
> build config:
> -------------
> https://builds.tuxbuild.com/211schgBXkq5zjdda7io29wMONF/config
> 
> # To install tuxmake on your system globally
> # sudo pip3 install -U tuxmake
> tuxmake --runtime podman --target-arch riscv --toolchain gcc-11
> --kconfig defconfig
> 

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

end of thread, other threads:[~2021-11-17 13:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-17 12:47 include/net/gro.h:413:22: error: implicit declaration of function 'csum_ipv6_magic Naresh Kamboju
2021-11-17 13:54 ` Denis Kirjanov

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).