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 1569EC28D13 for ; Mon, 22 Aug 2022 23:23:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238638AbiHVXXF (ORCPT ); Mon, 22 Aug 2022 19:23:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58226 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238614AbiHVXXB (ORCPT ); Mon, 22 Aug 2022 19:23: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 8E7FA5509B; Mon, 22 Aug 2022 16:23:00 -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 16D3C6010E; Mon, 22 Aug 2022 23:23:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 639BBC433D6; Mon, 22 Aug 2022 23:22:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661210579; bh=27dKffrJCvQAZLlg7vVdbHvTXAVvjerbmtEH+pW4XNY=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=GCWmyTvLHfWqxmkmdyn9GXZ5dfhggmKuRLTIkdpQOYwc1TndSPQX0GApCCj/D5Lc7 P3oklFvitz0SaKjSoGagvOWxeNo6cls32uggvXsiaNKLR45gInyXf31PuSgvbzLUsI afZgrbHmfe0MM0JM5lTSN0L3i402GGjiVFUL05oaAShRjDd4OlA0pbl6it0kQTuU42 KUnHFENsQtBp+GwvEZIchiWSr2GF1ND0qOdK43xjlKL65nF6baJCDX5Bti0PKfpjsy 6307YMH5cwp5ocFjgQhI160DpEg2VBhzmkdQZvZQYPdwYYssAx3NHILUUdSW2B3tSk mXw1qTPZtjVEA== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20220818210000.6600-1-wsa+renesas@sang-engineering.com> References: <20220818210000.6600-1-wsa+renesas@sang-engineering.com> Subject: Re: [PATCH] clk: move from strlcpy with unused retval to strscpy From: Stephen Boyd Cc: Wolfram Sang , Russell King , Michael Turquette , Peter De Schrijver , Prashant Gaikwad , Thierry Reding , Jonathan Hunter , linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-tegra@vger.kernel.org To: Wolfram Sang , linux-kernel@vger.kernel.org Date: Mon, 22 Aug 2022 16:22:57 -0700 User-Agent: alot/0.10 Message-Id: <20220822232259.639BBC433D6@smtp.kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Wolfram Sang (2022-08-18 14:00:00) > 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. >=20 > Link: https://lore.kernel.org/r/CAHk-=3DwgfRnXz0W3D37d01q3JFkr_i_uTL=3DV6= A6G1oUZcprmknw@mail.gmail.com/ > Signed-off-by: Wolfram Sang > --- Applied to clk-next