linux/drivers/net/wireless/realtek/rtlwifi/rtl8192cu
Arnd Bergmann dcdd54c2bc rtlwifi: rtl8192cu: remove pointless memcpy
gcc-8 points out that source and destination of the memcpy() are
always the same pointer, so the effect of memcpy() is undefined
here (its arguments must not overlap):

drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c: In function '_rtl_rx_process':
drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c:430:2: error: 'memcpy' source argument is the same as destination [-Werror=restrict]

Most likely this is harmless, but it's easy to just remove the
line and get rid of the warning.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2018-02-27 18:17:59 +02:00
..
def.h rtlwifi: rtl8192cu: Remove address of Free Software Foundation 2016-11-17 08:41:48 +02:00
dm.c rtlwifi: rtl8192cu: Remove address of Free Software Foundation 2016-11-17 08:41:48 +02:00
dm.h rtlwifi: rtl8192cu: Remove address of Free Software Foundation 2016-11-17 08:41:48 +02:00
hw.c rtlwifi: Add bw_update parameter for RA mask update. 2017-10-13 12:43:41 +03:00
hw.h rtlwifi: Add bw_update parameter for RA mask update. 2017-10-13 12:43:41 +03:00
led.c rtlwifi: Move items out of rtl_pci_priv and rtl_usb_priv 2017-02-08 17:24:42 +02:00
led.h rtlwifi: rtl8192cu: Remove address of Free Software Foundation 2016-11-17 08:41:48 +02:00
mac.c rtlwifi: move IS_HARDWARE_TYPE_xxx checker to wifi.h 2017-07-28 18:16:38 +03:00
mac.h rtlwifi: rtl8192cu: Remove address of Free Software Foundation 2016-11-17 08:41:48 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
phy.c rtlwifi: rtl8192cu: Remove all instances of DBG_EMERG 2016-12-30 15:54:25 +02:00
phy.h rtlwifi: rtl8192cu: Remove address of Free Software Foundation 2016-11-17 08:41:48 +02:00
reg.h rtlwifi: rtl8192cu: Remove address of Free Software Foundation 2016-11-17 08:41:48 +02:00
rf.c rtlwifi: rtl8192cu: Remove variable self-assignment in rf.c 2018-02-27 18:17:30 +02:00
rf.h rtlwifi: rtl8192cu: Remove address of Free Software Foundation 2016-11-17 08:41:48 +02:00
sw.c rtl8192cu: constify usb_device_id 2017-08-10 11:56:03 +03:00
sw.h rtlwifi: rtl8192cu: Remove address of Free Software Foundation 2016-11-17 08:41:48 +02:00
table.c rtlwifi: rtl8192cu: Remove address of Free Software Foundation 2016-11-17 08:41:48 +02:00
table.h rtlwifi: rtl8192cu: Remove address of Free Software Foundation 2016-11-17 08:41:48 +02:00
trx.c rtlwifi: rtl8192cu: remove pointless memcpy 2018-02-27 18:17:59 +02:00
trx.h rtlwifi: Remove unused dummy function 2017-07-28 18:41:55 +03:00