linux-stable/drivers/staging/rtl8192u
Kumar Kartikeya Dwivedi 81590693e3 staging: rtl8192u: Switch from strlcpy to strscpy
strlcpy is marked as deprecated in Documentation/process/deprecated.rst,
and there is no functional difference when the caller expects truncation
(when not checking the return value). strscpy is relatively better as it
also avoids scanning the whole source string.

This silences the related checkpatch warnings from:
5dbdb2d87c ("checkpatch: prefer strscpy to strlcpy")

Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Link: https://lore.kernel.org/r/20210131172838.146706-11-memxor@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-02-04 17:16:07 +01:00
..
ieee80211 staging: rtl8192u: Switch from strlcpy to strscpy 2021-02-04 17:16:07 +01:00
authors
changes
Kconfig staging: rtl819x: select CONFIG_CRC32 2021-01-05 15:27:22 +01:00
Makefile staging: rtl8192u: remove unneeded compiler flags 2020-01-10 13:28:15 +01:00
r819xU_cmdpkt.c staging: rtl8192u: clean up comparsions to NULL 2020-09-22 09:51:12 +02:00
r819xU_cmdpkt.h
r819xU_firmware.c staging: rtl8192u: clean up blank line style issues 2020-09-22 09:51:11 +02:00
r819xU_firmware.h
r819xU_firmware_img.c
r819xU_firmware_img.h staging: rtl8192u: clean up blank line style issues 2020-09-22 09:51:11 +02:00
r819xU_phy.c staging: rtl8192u: clean up comparsions to NULL 2020-09-22 09:51:12 +02:00
r819xU_phy.h
r819xU_phyreg.h staging: rtl8192u: clean up blank line style issues 2020-09-22 09:51:11 +02:00
r8180_93cx6.c staging: rtl8192u: Add space around binary operators 2019-08-25 10:27:39 +02:00
r8180_93cx6.h
r8190_rtl8256.c Staging: rtl8192u: use %s and __func__ 2021-01-26 18:44:55 +01:00
r8190_rtl8256.h
r8192U.h
r8192U_core.c staging: rtl8192u: Add null check in rtl8192_usb_initendpoints 2020-12-28 15:11:18 +01:00
r8192U_dm.c staging: rtl8192u: clean up blank line style issues 2020-09-22 09:51:11 +02:00
r8192U_dm.h staging: rtl8192u: Remove function dm_backup_dynamic_mechanism_state() 2019-07-01 09:11:23 +02:00
r8192U_hw.h staging: rtl8192u: clean up blank line style issues 2020-09-22 09:51:11 +02:00
r8192U_wx.c staging: rtl8192u: clean up comparsions to NULL 2020-09-22 09:51:12 +02:00
r8192U_wx.h staging: rtl8192u: add proper SPDX identifiers on files that did not have them. 2019-04-03 11:10:17 +02:00