OpenCloudOS-Kernel/drivers/net/ethernet/sun
Stephen Rothwell d9ffa069e0 sunvnet: fix sparc64 build error after gso code split
After merging the net-next tree, today's linux-next build (sparc64
defconfig) failed like this:

drivers/net/ethernet/sun/sunvnet_common.c: In function 'vnet_handle_offloads':
drivers/net/ethernet/sun/sunvnet_common.c:1277:16: error: implicit declaration of function 'skb_gso_segment'; did you mean 'skb_gso_reset'? [-Werror=implicit-function-declaration]
 1277 |         segs = skb_gso_segment(skb, dev->features & ~NETIF_F_TSO);
      |                ^~~~~~~~~~~~~~~
      |                skb_gso_reset
drivers/net/ethernet/sun/sunvnet_common.c:1277:14: warning: assignment to 'struct sk_buff *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 1277 |         segs = skb_gso_segment(skb, dev->features & ~NETIF_F_TSO);
      |              ^

Fixes: d457a0e329 ("net: move gso declarations and functions to their own files")
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/20230613164639.164b2991@canb.auug.org.au
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-06-15 22:47:13 -07:00
..
Kconfig net: sun: SUNVNET_COMMON should depend on INET 2021-09-28 13:20:21 +01:00
Makefile
cassini.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-05-18 14:39:34 -07:00
cassini.h ethernet/sun: fix repeated words in comments 2022-07-01 20:13:19 -07:00
ldmvsw.c ethernet: sun: add check for the mdesc_grab() 2023-03-17 07:47:39 +00:00
niu.c niu: Fix missing unwind goto in niu_alloc_channels() 2023-04-07 08:17:54 +01:00
niu.h
sunbmac.c net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
sunbmac.h
sungem.c net: drop the weight argument from netif_napi_add 2022-09-28 18:57:14 -07:00
sungem.h
sunhme.c net: sunhme: move asm includes to below linux includes 2023-04-06 19:00:41 -07:00
sunhme.h net: sunhme: Remove residual polling code 2023-03-27 08:41:56 +01:00
sunqe.c net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
sunqe.h
sunvnet.c ethernet: sun: add check for the mdesc_grab() 2023-03-17 07:47:39 +00:00
sunvnet_common.c sunvnet: fix sparc64 build error after gso code split 2023-06-15 22:47:13 -07:00
sunvnet_common.h netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00