Arnd Bergmann
cfabb1779d
net: qlge: use memmove instead of skb_copy_to_linear_data
...
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:
drivers/net/ethernet/qlogic/qlge/qlge_main.c: In function 'ql_realign_skb':
include/linux/skbuff.h:3378:2: error: 'memcpy' source argument is the same as destination [-Werror=restrict]
memcpy(skb->data, from, len);
It's unclear to me what the best solution is, maybe it ought to use a
different helper that adjusts the skb data in a safe way. Simply using
memmove() here seems like the easiest workaround.
Signed-off-by: Arnd Bergmann <arnd@arndb.de >
Signed-off-by: David S. Miller <davem@davemloft.net >
2018-02-02 19:44:34 -05:00
..
2017-11-02 11:10:55 +01:00
2018-01-31 11:52:20 -08:00
2017-11-14 16:54:12 -08:00
2018-01-30 17:58:07 -08:00
2018-01-30 14:48:30 -08:00
2017-11-30 09:26:32 -05:00
2017-11-27 12:36:45 -08:00
2018-01-31 14:31:10 -08:00
2018-01-19 22:59:33 -05:00
2018-01-30 18:59:03 -08:00
2018-01-31 14:31:10 -08:00
2018-01-18 02:54:45 +01:00
2017-11-14 15:32:19 -08:00
2018-01-31 14:22:45 -08:00
2017-12-26 17:34:03 -08:00
2018-01-08 17:57:26 +01:00
2017-10-22 02:22:39 +01:00
2018-01-18 02:52:42 +01:00
2018-01-05 14:01:30 +01:00
2018-01-31 14:22:45 -08:00
2017-11-29 18:40:42 -08:00
2018-01-02 09:36:54 +09:00
2017-11-02 11:10:55 +01:00
2018-01-31 11:52:20 -08:00
2017-11-28 11:06:58 -05:00
2018-01-09 20:14:23 +01:00
2017-11-02 11:10:55 +01:00
2018-01-03 10:11:02 +09:00
2017-11-28 11:06:58 -05:00
2018-01-31 13:12:31 -08:00
2017-11-02 11:10:55 +01:00
2017-11-16 09:10:59 -08:00
2018-01-31 12:25:27 -08:00
2018-01-31 09:25:20 -08:00
2018-01-31 13:00:01 -08:00
2018-01-31 12:54:05 -08:00
2018-01-31 14:31:10 -08:00
2018-01-27 09:34:22 -08:00
2017-11-17 20:16:20 -08:00
2018-01-30 13:57:43 -08:00
2018-01-29 09:47:41 -08:00
2017-11-19 08:04:41 -10:00
2017-11-13 01:34:14 +01:00
2018-01-30 17:58:07 -08:00
2018-01-31 18:46:22 -08:00
2018-01-30 17:58:07 -08:00
2018-01-31 17:18:38 -08:00
2018-01-30 13:57:43 -08:00
2018-01-30 18:59:03 -08:00
2018-01-31 12:22:41 -08:00
2018-01-05 08:50:12 -07:00
2017-11-28 11:06:58 -05:00
2017-11-28 11:06:58 -05:00
2017-11-02 11:10:55 +01:00
2018-01-31 11:05:47 -08:00
2018-01-31 09:25:20 -08:00
2018-01-12 16:41:15 +01:00
2017-11-29 10:16:44 +00:00
2018-01-17 01:19:38 -05:00
2018-01-29 11:35:24 -08:00
2018-01-31 19:21:14 -08:00
2018-01-29 11:26:11 -08:00
2018-01-31 11:32:27 -08:00
2018-01-09 14:19:41 +01:00
2018-02-02 19:44:34 -05:00
2017-11-21 15:57:09 -08:00
2017-11-21 15:57:07 -08:00
2018-01-16 16:47:29 +01:00
2017-12-21 14:59:27 -08:00
2018-01-29 11:51:49 -08:00
2017-12-23 16:46:23 +01:00
2018-01-31 14:31:10 -08:00
2017-12-28 12:48:16 +01:00
2017-11-02 11:10:55 +01:00
2018-01-02 21:01:02 +01:00
2017-11-16 09:10:59 -08:00
2018-01-31 14:31:10 -08:00
2017-11-17 16:10:04 -08:00
2018-01-15 18:02:17 +00:00
2018-01-30 14:48:30 -08:00
2018-01-31 12:25:27 -08:00
2018-01-30 17:58:07 -08:00
2017-12-16 02:59:45 +01:00
2018-01-31 12:55:31 -08:00
2018-01-17 12:56:24 +01:00
2017-11-28 11:06:58 -05:00
2017-11-28 11:06:58 -05:00
2017-11-22 21:09:18 -10:00
2017-11-28 11:06:58 -05:00
2018-01-23 12:17:42 -06:00
2018-01-26 17:57:05 +00:00
2017-11-17 20:14:10 -08:00
2017-11-16 16:05:01 -08:00
2017-11-28 11:06:58 -05:00
2017-11-28 11:06:58 -05:00
2018-01-31 14:31:10 -08:00
2017-11-17 20:21:44 -08:00
2018-01-31 14:31:10 -08:00
2017-11-14 16:54:12 -08:00
2017-11-30 15:29:44 -08:00
2018-01-26 17:57:34 +00:00
2018-01-19 22:59:33 -05:00
2018-01-31 14:22:45 -08:00
2018-01-29 11:51:49 -08:00
2017-11-29 10:24:57 +01:00
2017-12-07 22:52:01 +01:00
2017-12-16 16:37:51 +01:00
2018-01-31 14:31:10 -08:00
2017-11-28 11:06:58 -05:00
2018-01-30 17:58:07 -08:00
2017-11-21 15:57:07 -08:00
2017-11-27 16:19:54 -05:00
2018-01-31 14:31:10 -08:00
2018-01-29 16:37:15 -08:00
2017-11-28 11:06:58 -05:00
2017-12-14 21:01:40 +02:00
2017-11-16 09:10:59 -08:00
2018-01-31 19:25:25 -08:00
2018-01-08 10:08:36 +00:00
2018-01-31 11:32:27 -08:00
2017-11-02 11:10:55 +01:00
2017-11-13 01:40:52 +01:00
2017-11-28 15:17:49 +01:00