linux_dsm_epyc7002/drivers/net/wireless/intersil/p54
Jiri Slaby 6f17581788 p54: memset(0) whole array
gcc 7 complains:
drivers/net/wireless/intersil/p54/fwio.c: In function 'p54_scan':
drivers/net/wireless/intersil/p54/fwio.c:491:4: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]

Fix that by passing the correct size to memset.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Christian Lamparter <chunkeey@googlemail.com>
Cc: Kalle Valo <kvalo@codeaurora.org>
Cc: linux-wireless@vger.kernel.org
Cc: netdev@vger.kernel.org
Acked-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2016-11-17 08:45:32 +02:00
..
eeprom.c
eeprom.h
fwio.c p54: memset(0) whole array 2016-11-17 08:45:32 +02:00
Kconfig
led.c
lmac.h
main.c
Makefile
p54.h
p54pci.c
p54pci.h
p54spi_eeprom.h
p54spi.c
p54spi.h
p54usb.c
p54usb.h
txrx.c