From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0836DECAAD5 for ; Fri, 2 Sep 2022 08:48:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236089AbiIBIsY (ORCPT ); Fri, 2 Sep 2022 04:48:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235969AbiIBIsB (ORCPT ); Fri, 2 Sep 2022 04:48:01 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE71EC6EAF; Fri, 2 Sep 2022 01:47:48 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 95E4162091; Fri, 2 Sep 2022 08:47:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 539C3C433D7; Fri, 2 Sep 2022 08:47:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1662108467; bh=IDUrnjPz+nOb4YlnVezby/KSL+PqY47LilgBkDdd/dk=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=dO8ur7l9H8qbVFAgTGS6wDY3thHyTWcmKBMckSIwiX7FWRhEGPmy4QYn+xGsvSjm2 YxOBzy5Hi5ydgRVP2ZYZOuL1kvDZXfrTxD76uvAvnLwCY5n9vcouL8Q9leKA8xH7SU 5psK7leaKhJvdeIDMdCrT1vTpi1ckAxdt7nQn7rBkyUHnlE1OicQ88+cUs67y2TOrm sfRR8tkDm6U29H4YX0Sc4lgAPfQumn1T9bptyOmG1lsDzRPgAwgaz8qGNHhreUN9U6 WwgHO4Kx3T9/dp5kq6XnTSj9ELIH/65p5XoXaHet2BZaMR+1cNAtCqSd/lkfx8pbYq hxPDm+bguHkQg== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [v2,2/3] wifi: move from strlcpy with unused retval to strscpy From: Kalle Valo In-Reply-To: <20220830201457.7984-2-wsa+renesas@sang-engineering.com> References: <20220830201457.7984-2-wsa+renesas@sang-engineering.com> To: Wolfram Sang Cc: linux-kernel@vger.kernel.org, Wolfram Sang , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Christian Lamparter , Simon Kelley , Larry Finger , Arend van Spriel , Franky Lin , Hante Meuleman , Stanislav Yakovlev , Stanislaw Gruszka , Jouni Malinen , Ajay Singh , Claudiu Beznea , Igor Mitsyanko , Sergey Matyukevich , Herton Ronaldo Krzesinski , Hin-Tak Leung , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, b43-dev@lists.infradead.org, brcm80211-dev-list.pdl@broadcom.com, SHA-cyfmac-dev-list@infineon.com, libertas-dev@lists.infradead.org User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-ID: <166210845943.24345.11339520901583548559.kvalo@kernel.org> Date: Fri, 2 Sep 2022 08:47:41 +0000 (UTC) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Patch applied to wireless-next.git, thanks. bf99f11df4de wifi: move from strlcpy with unused retval to strscpy -- https://patchwork.kernel.org/project/linux-wireless/patch/20220830201457.7984-2-wsa+renesas@sang-engineering.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches