From: kernel test robot <lkp@intel.com>
To: Ralf Lici <ralf@mandelbit.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: Re: [RFC net-next 05/15] ipxlat: add IPv6 packet validation path
Date: Sun, 22 Mar 2026 14:55:22 +0800 [thread overview]
Message-ID: <202603221453.u8DVY8ud-lkp@intel.com> (raw)
In-Reply-To: <20260319151230.655687-6-ralf@mandelbit.com>
Hi Ralf,
[This is a private test report for your RFC patch.]
kernel test robot noticed the following build errors:
[auto build test ERROR on net-next/main]
url: https://github.com/intel-lab-lkp/linux/commits/Ralf-Lici/drivers-net-add-ipxlat-netdevice-skeleton-and-build-plumbing/20260321-005756
base: net-next/main
patch link: https://lore.kernel.org/r/20260319151230.655687-6-ralf%40mandelbit.com
patch subject: [RFC net-next 05/15] ipxlat: add IPv6 packet validation path
config: hexagon-allmodconfig (https://download.01.org/0day-ci/archive/20260322/202603221453.u8DVY8ud-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260322/202603221453.u8DVY8ud-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202603221453.u8DVY8ud-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/net/ipxlat/packet.c:452:18: warning: variable 'ip6' set but not used [-Wunused-but-set-variable]
452 | struct ipv6hdr *ip6;
| ^
>> drivers/net/ipxlat/packet.c:686:9: error: call to undeclared function 'csum_ipv6_magic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
686 | csum = csum_ipv6_magic(&iph6->saddr, &iph6->daddr, len, NEXTHDR_ICMP,
| ^
drivers/net/ipxlat/packet.c:686:9: note: did you mean 'csum_tcpudp_magic'?
arch/hexagon/include/asm/checksum.h:21:9: note: 'csum_tcpudp_magic' declared here
21 | __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr,
| ^
arch/hexagon/include/asm/checksum.h:20:27: note: expanded from macro 'csum_tcpudp_magic'
20 | #define csum_tcpudp_magic csum_tcpudp_magic
| ^
1 warning and 1 error generated.
vim +/csum_ipv6_magic +686 drivers/net/ipxlat/packet.c
674
675 static int ipxlat_v6_validate_icmp_csum(const struct sk_buff *skb)
676 {
677 struct ipv6hdr *iph6;
678 unsigned int len;
679 __sum16 csum;
680
681 if (skb->ip_summed != CHECKSUM_NONE)
682 return 0;
683
684 iph6 = ipv6_hdr(skb);
685 len = ipxlat_skb_datagram_len(skb);
> 686 csum = csum_ipv6_magic(&iph6->saddr, &iph6->daddr, len, NEXTHDR_ICMP,
687 skb_checksum(skb, skb_transport_offset(skb), len,
688 0));
689
690 return unlikely(csum) ? -EINVAL : 0;
691 }
692
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
parent reply other threads:[~2026-03-22 6:56 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20260319151230.655687-6-ralf@mandelbit.com>]
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=202603221453.u8DVY8ud-lkp@intel.com \
--to=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=ralf@mandelbit.com \
/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