Re: [PATCH] net: move from strlcpy with unused retval to strscpy
From: Shay Agroskin <hidden>
Date: 2022-08-22 07:39:53
Also in:
intel-wired-lan, linux-mediatek, linux-sunxi
From: Shay Agroskin <hidden>
Date: 2022-08-22 07:39:53
Also in:
intel-wired-lan, linux-mediatek, linux-sunxi
Wolfram Sang [off-list ref] writes:
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe. 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/ (local) Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> ---
...
drivers/net/ethernet/amazon/ena/ena_ethtool.c | 4 ++-- drivers/net/ethernet/amazon/ena/ena_netdev.c | 2 +-
Reviewed-by: Shay Agroskin <redacted>