Re: [PATCH] net: qlge: use memmove instead of skb_copy_to_linear_data

2018-02-02 Thread David Miller
From: Arnd Bergmann Date: Fri, 2 Feb 2018 16:45:44 +0100 > gcc-8 points out that the skb_copy_to_linear_data() argument points to > the skb itself, which makes it run into a problem with overlapping > memcpy arguments: > > In file included from include/linux/ip.h:20, >

[PATCH] net: qlge: use memmove instead of skb_copy_to_linear_data

2018-02-02 Thread Arnd Bergmann
gcc-8 points out that the skb_copy_to_linear_data() argument points to the skb itself, which makes it run into a problem with overlapping memcpy arguments: In file included from include/linux/ip.h:20, from drivers/net/ethernet/qlogic/qlge/qlge_main.c:26: