]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: mac80211: move from strlcpy with unused retval to strscpy
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Thu, 18 Aug 2022 21:02:23 +0000 (23:02 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 26 Aug 2022 07:57:51 +0000 (09:57 +0200)
commit6b04e097230578efa924e23ef56f32d072a77fb7
tree6a283a1e41739530d0ec4d54a2545f77b81b28f8
parent695fd17c5fffe41fe8d4596a6ea2dc0838e1f173
wifi: mac80211: move from strlcpy with unused retval to strscpy

Follow the advice of the below link and prefer 'strscpy' in this
subsystem. Conversion is 1:1 because the return value is not used.
Generated by a coccinelle script.

Link: https://lore.kernel.org/r/CAHk-=wgfRnXz0W3D37d01q3JFkr_i_uTL=V6A6G1oUZcprmknw@mail.gmail.com/
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/iface.c