summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/marvell/mwifiex/usb.c
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2018-08-20 13:48:31 -0500
committerKalle Valo <kvalo@codeaurora.org>2018-08-31 18:46:19 +0300
commit199ba9faca909e77ac533449ecd1248123ce89e7 (patch)
treed31dc7a0c50816faa0b61899cee69d989249efb2 /drivers/net/wireless/marvell/mwifiex/usb.c
parent5945310a175506f743b68fd6812dbcd1b3c95ec1 (diff)
downloadlinux-199ba9faca909e77ac533449ecd1248123ce89e7.tar.bz2
rtl8187: Fix warning generated when strncpy() destination length matches the sixe argument
In gcc8, when the 3rd argument (size) of a call to strncpy() matches the length of the first argument, the compiler warns of the possibility of an unterminated string. Using strlcpy() forces a null at the end. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/marvell/mwifiex/usb.c')
0 files changed, 0 insertions, 0 deletions