[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20220819065324.qfrbrs6hmr5szfuc@pengutronix.de>
Date: Fri, 19 Aug 2022 08:53:24 +0200
From: Marc Kleine-Budde <mkl@...gutronix.de>
To: Wolfram Sang <wsa+renesas@...g-engineering.com>
Cc: linux-kernel@...r.kernel.org, linux-can@...r.kernel.org
Subject: Re: [PATCH] net: move from strlcpy with unused retval to strscpy
On 18.08.2022 23:00:34, Wolfram Sang wrote:
> 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@...g-engineering.com>
> ---
> drivers/net/can/sja1000/peak_pcmcia.c | 2 +-
> drivers/net/can/usb/peak_usb/pcan_usb_core.c | 2 +-
Acked-by: Marc Kleine-Budde <mkl@...gutronix.de> # for CAN
regards,
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung West/Dortmund | Phone: +49-231-2826-924 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists