From: Leon Romanovsky <leon@kernel.org>
To: Wolfram Sang <wsa+renesas@sang-engineering.com>
Cc: "Andrew Lunn" <andrew@lunn.ch>,
"Shyam Sundar S K" <Shyam-sundar.S-k@amd.com>,
"Igor Russkikh" <irusskikh@marvell.com>,
"Kevin Brace" <kevinbrace@bracecomputerlab.com>,
"David Dillow" <dave@thedillows.org>,
"Somnath Kotur" <somnath.kotur@broadcom.com>,
"Rafał Miłecki" <rafal@milecki.pl>,
"K. Y. Srinivasan" <kys@microsoft.com>,
linux-stm32@st-md-mailman.stormreply.com,
"Andy Gospodarek" <andy@greyhouse.net>,
"Wei Liu" <wei.liu@kernel.org>,
"Manish Chopra" <manishc@marvell.com>,
"Samuel Holland" <samuel@sholland.org>,
"Madalin Bucur" <madalin.bucur@nxp.com>,
"Christian Lamparter" <chunkeey@googlemail.com>,
"Michal Simek" <michal.simek@xilinx.com>,
"Jose Abreu" <joabreu@synopsys.com>,
"Radhey Shyam Pandey" <radhey.shyam.pandey@xilinx.com>,
"Franky Lin" <franky.lin@broadcom.com>,
"Mark Lee" <Mark-MC.Lee@mediatek.com>,
"Chris Lee" <christopher.lee@cspi.com>,
"Nick Child" <nnac123@linux.ibm.com>,
"Jiri Pirko" <jiri@resnulli.us>,
"Jay Vosburgh" <j.vosburgh@gmail.com>,
"Vinay Kumar Yadav" <vinay.yadav@chelsio.com>,
"Arend van Spriel" <aspriel@gmail.com>,
"Nicholas Piggin" <npiggin@gmail.com>,
"Igor Mitsyanko" <imitsyanko@quantenna.com>,
"Krzysztof Halasa" <khalasa@piap.pl>,
"Shay Agroskin" <shayagr@amazon.com>,
linux-omap@vger.kernel.org, "Petr Machata" <petrm@nvidia.com>,
libertas-dev@lists.infradead.org,
"Rasesh Mody" <rmody@marvell.com>,
"Ilias Apalodimas" <ilias.apalodimas@linaro.org>,
"Douglas Miller" <dougmill@linux.ibm.com>,
"Joakim Zhang" <qiangqing.zhang@nxp.com>,
"Ralf Baechle" <ralf@linux-mips.org>,
"Vivien Didelot" <vivien.didelot@gmail.com>,
"Ion Badulescu" <ionut@badula.org>,
"Hartley Sweeten" <hsweeten@visionengravers.com>,
"Stanislav Yakovlev" <stas.yakovlev@gmail.com>,
"Jon Mason" <jdmason@kudzu.us>,
"Vladimir Oltean" <olteanv@gmail.com>,
"Claudiu Beznea" <claudiu.beznea@microchip.com>,
"Christian Benvenuti" <benve@cisco.com>,
"Samuel Chessman" <chessman@tux.org>,
linux-usb@vger.kernel.org, "Ronak Doshi" <doshir@vmware.com>,
"Kunihiko Hayashi" <hayashi.kunihiko@socionext.com>,
"Chris Snook" <chris.snook@gmail.com>,
"Deni s Kirjanov" <kda@linux-powerpc.org>,
"Prashant Sreedharan" <prashant@broadcom.com>,
linux-kernel@vger.kernel.org,
"Daniele Venzano" <venza@brownhat.org>,
"Eric Dumazet" <edumazet@google.com>,
"Zhu Yanjun" <zyjzyj2000@gmail.com>,
"Tony Nguyen" <anthony.l.nguyen@intel.com>,
"Arthur Kiyanovski" <akiyano@amazon.com>,
"David S. Miller" <davem@davemloft.net>,
"Sergey Matyukevich" <geomatsi@gmail.com>,
"Jesse Brandeburg" <jesse.brandeburg@intel.com>,
"Rain River" <rain.1986.08.12@gmail.com>,
"Veaceslav Falico" <vfalico@gmail.com>,
"Martin Habets" <habetsm.xilinx@gmail.com>,
"Yisen Zhuang" <yisen.zhuang@huawei.com>,
"Wolfgang Grandegger" <wg@grandegger.com>,
"Steve Glendinning" <steve.glendinning@shawell.net>,
"Tom Lendacky" <thomas.lendacky@amd.com>,
"Michael Hennerich" <michael.hennerich@analog.com>,
"Ido Schimmel" <idosch@nvidia.com>,
"Sean Wang" <sean.wang@mediatek.com>,
linuxppc-dev@lists.ozlabs.org, linux-can@vger.kernel.org,
"Siva Reddy Kallam" <siva.kallam@broadcom.com>,
"Claudiu Manoil" <claudiu.manoil@nxp.com>,
"Doug Berg er" <opendmb@gmail.com>,
"Simon Kelley" <simon@thekelleys.org.uk>,
"Giuseppe Cavallaro" <peppe.cavallaro@st.com>,
linux-arm-kernel@lists.infradead.org,
"Mirko Lindner" <mlindner@marvell.com>,
"Sriharsha Basavapatna" <sriharsha.basavapatna@broadcom.com>,
"Nicolas Pitre" <nico@fluxnic.net>,
"David Arinzon" <darinzon@amazon.com>,
"Rohit Maheshwari" <rohitm@chelsio.com>,
"Tariq Toukan" <tariqt@nvidia.com>,
"Sudarsana Kalluru" <skalluru@marvell.com>,
"Taras Chornyi" <tchornyi@marvell.com>,
"Maxime Coquelin" <mcoquelin.stm32@gmail.com>,
linux-mediatek@lists.infradead.org,
"Heiner Kallweit" <hkallweit1@gmail.com>,
linux-wireless@vger.kernel.org,
"Ajit Khaparde" <ajit.khaparde@broadcom.com>,
"Petko Manolov" <petkan@nucleusys.com>,
"Andreas Larsson" <andreas@gaisler.com>,
"Jason Wang" <jasowang@redhat.com>,
"Kurt Kanzenbach" <kurt@linutronix.de>,
linux-hyperv@vger.kernel.org, oss-drivers@corigine.com,
netdev@vger.kernel.org, "Subbaraya Sundeep" <sbhatta@marvell.com>,
"Hin-Tak Leung" <htl10@users.sourceforge.net>
Subject: Re: [PATCH] net: move from strlcpy with unused retval to strscpy
Date: Sun, 21 Aug 2022 14:39:01 +0300 [thread overview]
Message-ID: <YwIZVfRUhwevWN62@unreal> (raw)
In-Reply-To: <20220818210050.7108-1-wsa+renesas@sang-engineering.com>
On Thu, Aug 18, 2022 at 11:00:34PM +0200, 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@sang-engineering.com>
> ---
<...>
> drivers/net/ethernet/mellanox/mlx4/en_ethtool.c | 6 +++---
> drivers/net/ethernet/mellanox/mlx4/fw.c | 2 +-
> .../net/ethernet/mellanox/mlx5/core/en_ethtool.c | 4 ++--
> drivers/net/ethernet/mellanox/mlx5/core/en_rep.c | 2 +-
> .../ethernet/mellanox/mlx5/core/ipoib/ethtool.c | 2 +-
Thanks,
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
next prev parent reply other threads:[~2022-08-21 12:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-18 21:00 [PATCH] net: move from strlcpy with unused retval to strscpy Wolfram Sang
2022-08-19 15:26 ` Geoff Levand
2022-08-19 15:45 ` Tom Lendacky
2022-08-19 16:06 ` Marcin Wojtas
2022-08-21 11:39 ` Leon Romanovsky [this message]
2022-08-22 7:00 ` Shay Agroskin
2022-08-23 1:05 ` Jakub Kicinski
2022-08-30 19:59 ` Wolfram Sang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YwIZVfRUhwevWN62@unreal \
--to=leon@kernel.org \
--cc=Mark-MC.Lee@mediatek.com \
--cc=Shyam-sundar.S-k@amd.com \
--cc=ajit.khaparde@broadcom.com \
--cc=akiyano@amazon.com \
--cc=andreas@gaisler.com \
--cc=andrew@lunn.ch \
--cc=andy@greyhouse.net \
--cc=anthony.l.nguyen@intel.com \
--cc=aspriel@gmail.com \
--cc=benve@cisco.com \
--cc=chessman@tux.org \
--cc=chris.snook@gmail.com \
--cc=christopher.lee@cspi.com \
--cc=chunkeey@googlemail.com \
--cc=claudiu.beznea@microchip.com \
--cc=claudiu.manoil@nxp.com \
--cc=darinzon@amazon.com \
--cc=dave@thedillows.org \
--cc=davem@davemloft.net \
--cc=doshir@vmware.com \
--cc=dougmill@linux.ibm.com \
--cc=edumazet@google.com \
--cc=franky.lin@broadcom.com \
--cc=geomatsi@gmail.com \
--cc=habetsm.xilinx@gmail.com \
--cc=hayashi.kunihiko@socionext.com \
--cc=hkallweit1@gmail.com \
--cc=hsweeten@visionengravers.com \
--cc=htl10@users.sourceforge.net \
--cc=idosch@nvidia.com \
--cc=ilias.apalodimas@linaro.org \
--cc=imitsyanko@quantenna.com \
--cc=ionut@badula.org \
--cc=irusskikh@marvell.com \
--cc=j.vosburgh@gmail.com \
--cc=jasowang@redhat.com \
--cc=jdmason@kudzu.us \
--cc=jesse.brandeburg@intel.com \
--cc=jiri@resnulli.us \
--cc=joabreu@synopsys.com \
--cc=kda@linux-powerpc.org \
--cc=kevinbrace@bracecomputerlab.com \
--cc=khalasa@piap.pl \
--cc=kurt@linutronix.de \
--cc=kys@microsoft.com \
--cc=libertas-dev@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-can@vger.kernel.org \
--cc=linux-hyperv@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=linux-usb@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=madalin.bucur@nxp.com \
--cc=manishc@marvell.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=michael.hennerich@analog.com \
--cc=michal.simek@xilinx.com \
--cc=mlindner@marvell.com \
--cc=netdev@vger.kernel.org \
--cc=nico@fluxnic.net \
--cc=nnac123@linux.ibm.com \
--cc=npiggin@gmail.com \
--cc=olteanv@gmail.com \
--cc=opendmb@gmail.com \
--cc=oss-drivers@corigine.com \
--cc=peppe.cavallaro@st.com \
--cc=petkan@nucleusys.com \
--cc=petrm@nvidia.com \
--cc=prashant@broadcom.com \
--cc=qiangqing.zhang@nxp.com \
--cc=radhey.shyam.pandey@xilinx.com \
--cc=rafal@milecki.pl \
--cc=rain.1986.08.12@gmail.com \
--cc=ralf@linux-mips.org \
--cc=rmody@marvell.com \
--cc=rohitm@chelsio.com \
--cc=samuel@sholland.org \
--cc=sbhatta@marvell.com \
--cc=sean.wang@mediatek.com \
--cc=shayagr@amazon.com \
--cc=simon@thekelleys.org.uk \
--cc=siva.kallam@broadcom.com \
--cc=skalluru@marvell.com \
--cc=somnath.kotur@broadcom.com \
--cc=sriharsha.basavapatna@broadcom.com \
--cc=stas.yakovlev@gmail.com \
--cc=steve.glendinning@shawell.net \
--cc=tariqt@nvidia.com \
--cc=tchornyi@marvell.com \
--cc=thomas.lendacky@amd.com \
--cc=venza@brownhat.org \
--cc=vfalico@gmail.com \
--cc=vinay.yadav@chelsio.com \
--cc=vivien.didelot@gmail.com \
--cc=wei.liu@kernel.org \
--cc=wg@grandegger.com \
--cc=wsa+renesas@sang-engineering.com \
--cc=yisen.zhuang@huawei.com \
--cc=zyjzyj2000@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).