linux_dsm_epyc7002/drivers/net/wireless/brcm80211/brcmsmac
Andi Kleen af2c8ffe56 brcm80211: Remove bogus memcpy in ai_detach
gcc 4.8 warns for this memcpy. While the copy size is correct, the whole
copy seems to be a nop because the destination is never used, and
there's no need to use memcpy to copy pointers anyways. And the
type of the pointer was wrong, but at least those are always the same.

Just remove it.

/backup/lsrc/git/linux-lto-2.6/drivers/net/wireless/brcm80211/brcmsmac/aiutils.c: In function 'ai_detach':
/backup/lsrc/git/linux-lto-2.6/drivers/net/wireless/brcm80211/brcmsmac/aiutils.c:539:32: warning: argument to 'sizeof' in 'memcpy' call is the same pointer type 'struct si_pub **' as the destination; expected 'struct si_pub *' or an explicit length [-Wsizeof-pointer-memaccess]
  memcpy(&si_local, &sih, sizeof(struct si_pub **));
                                ^

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2012-09-11 15:13:50 -04:00
..
phy brcmsmac: handle non PCI devices in the phy code 2012-07-10 12:16:57 -04:00
aiutils.c brcm80211: Remove bogus memcpy in ai_detach 2012-09-11 15:13:50 -04:00
aiutils.h brcmsmac: use chip and package id constants from bcma 2012-07-10 12:16:52 -04:00
ampdu.c brcmsmac: restructure info->control.sta handling as it is goning to be removed soon. 2012-07-12 15:27:17 -04:00
ampdu.h
antsel.c brcmsmac: use sprom from bcma 2012-05-16 12:45:23 -04:00
antsel.h
brcms_trace_events.c
brcms_trace_events.h
channel.c brcmsmac: use channel flags to restrict OFDM 2012-08-02 13:51:48 -04:00
channel.h brcm80211: smac: use current regulatory domain when checking whether OFDM is allowed 2012-06-20 15:14:40 -04:00
d11.h wireless: Remove unnecessary ; from while (0) macros 2012-04-11 16:23:56 -04:00
dma.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem 2012-07-12 13:44:50 -04:00
dma.h brcm80211: smac: use bcma function for register access in dma.c 2011-12-13 15:32:56 -05:00
mac80211_if.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2012-09-07 15:07:55 -04:00
mac80211_if.h brcm80211: Use normal DEBUG define 2012-01-24 14:21:13 -05:00
main.c brcmsmac: use ieee80211_channel_to_frequency 2012-08-06 14:56:29 -04:00
main.h brcm80211: Convert printk(KERN_DEBUG to pr_debug 2012-01-24 14:21:14 -05:00
Makefile brcmsmac: remove nicpci.c 2012-05-16 12:45:25 -04:00
phy_shim.c brcmsmac: remove brcmsmac own sprom parsing 2012-05-16 12:45:23 -04:00
phy_shim.h brcmsmac: remove brcmsmac own sprom parsing 2012-05-16 12:45:23 -04:00
pmu.c brcmsmac: use chip and package id constants from bcma 2012-07-10 12:16:52 -04:00
pmu.h brcmsmac: remove si_pmu_spuravoid_pllupdate() 2012-07-10 12:16:50 -04:00
pub.h brcmsmac: extend brcms_c_chipmatch() to also handle non PCIe devices 2012-07-10 12:16:56 -04:00
rate.c
rate.h brcm80211: smac: remove phy api bypass in rate.h 2011-11-08 15:54:09 -05:00
scb.h
stf.c brcmsmac: use sprom from bcma 2012-05-16 12:45:23 -04:00
stf.h
types.h brcm80211: smac: remove register access macro definitions 2011-12-13 15:48:10 -05:00
ucode_loader.c
ucode_loader.h