Re: include/net/gro.h:413:22: error: implicit declaration of function 'csum_ipv6_magic

From: Denis Kirjanov
Date: Wed Nov 17 2021 - 08:54:51 EST




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


Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>

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