mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 00:21:59 +00:00
81590693e3
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:
|
||
---|---|---|
.. | ||
ieee80211 | ||
authors | ||
changes | ||
Kconfig | ||
Makefile | ||
r819xU_cmdpkt.c | ||
r819xU_cmdpkt.h | ||
r819xU_firmware_img.c | ||
r819xU_firmware_img.h | ||
r819xU_firmware.c | ||
r819xU_firmware.h | ||
r819xU_phy.c | ||
r819xU_phy.h | ||
r819xU_phyreg.h | ||
r8180_93cx6.c | ||
r8180_93cx6.h | ||
r8190_rtl8256.c | ||
r8190_rtl8256.h | ||
r8192U_core.c | ||
r8192U_dm.c | ||
r8192U_dm.h | ||
r8192U_hw.h | ||
r8192U_wx.c | ||
r8192U_wx.h | ||
r8192U.h |