linux-next: build warning after merge of the ipsec-next tree

From: Stephen Rothwell
Date: Tue Jun 15 2021 - 03:58:56 EST


Hi all,

After merging the ipsec-next tree, today's linux-next build (powerpc
pseries_le_defconfig) produced this warning:

net/xfrm/xfrm_output.c:140:12: warning: 'xfrm6_hdr_offset' defined but not used [-Wunused-function]
140 | static int xfrm6_hdr_offset(struct xfrm_state *x, struct sk_buff *skb, u8 **prevhdr)
| ^~~~~~~~~~~~~~~~

Introduced by commit

9acf4d3b9ec1 ("xfrm: ipv6: add xfrm6_hdr_offset helper")

--
Cheers,
Stephen Rothwell

Attachment: pgpNLVxpAGoox.pgp
Description: OpenPGP digital signature