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 AAE0CECAAD3 for ; Wed, 31 Aug 2022 05:32:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229605AbiHaFcT (ORCPT ); Wed, 31 Aug 2022 01:32:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229585AbiHaFcQ (ORCPT ); Wed, 31 Aug 2022 01:32:16 -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 EC02DB9594; Tue, 30 Aug 2022 22:32:13 -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 E7573615DC; Wed, 31 Aug 2022 05:32:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E23E3C433C1; Wed, 31 Aug 2022 05:32:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661923932; bh=8QPIebz3VNfwqkf+lieP7NIgbMX2A7q2FQXHX4f2P6g=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=M+sFZROvqWXmtfg+z3yqjjyr/gRL0V45utw1UrSV8xnrmBsaFulC45YN0iYeBpKrY SQuKcLeHxPnbtfs2GrrBX0SwrXobGmZuE7XPMgjw2MqKQqGXjVggTSBdJbkbfrQeR/ T9jAKPEDhN4ULA5dmVP0+w+UIo8xxG3vHLQJfpAB5id1vG0sx5HBS4tNjlxsvXhuQF hZ8kTyjmmrrQjOg0sySpHnEz6VD9qdBYa56Im/x7i5hO2Vc1r9PEcaMzf8zyGM60VL eOaoOZS4/l/d8DG0E364vmLaemcqPImfWJbwuY0/OhXrbanhNV7x2ofajqpZIt3kV0 sCE0IQynjrghg== From: Kalle Valo To: Wolfram Sang Cc: linux-kernel@vger.kernel.org, "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 Subject: Re: [PATCH v2 2/3] net: wireless: move from strlcpy with unused retval to strscpy In-Reply-To: <20220830201457.7984-2-wsa+renesas@sang-engineering.com> (Wolfram Sang's message of "Tue, 30 Aug 2022 22:14:53 +0200") References: <20220830201457.7984-1-wsa+renesas@sang-engineering.com> <20220830201457.7984-2-wsa+renesas@sang-engineering.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Date: Wed, 31 Aug 2022 08:32:02 +0300 Message-ID: <87bks1c71p.fsf@kernel.org> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Wolfram Sang writes: > 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 Thanks, I see this in patchwork now: https://patchwork.kernel.org/project/linux-wireless/patch/20220830201457.7984-2-wsa+renesas@sang-engineering.com/ Net folks, I assume I'll take this patch 2 to wireless-next. But if you want to take it instead just let me know. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches