From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D6DEF366 for ; Tue, 30 Aug 2022 07:42:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F19A7C433D7; Tue, 30 Aug 2022 07:42:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661845369; bh=BMBvko2lfLuUynD6bKyHh16ykDyUWP4kyBVHqHXPTXY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=j3zOlu2wS/PddnNL68ktDmKe6mgTXTWbgzIVh0uC8sOeSMrfvmtx81RJzCzGzr6a6 V1lpNp92M/7Zf/AloaTsp718XvDrg02V9Oh/feWSqq0LnaSpkkOV7swpamjNOpuAzU IsMLvMAvsTabOfWM6tLPBu8a7TvcAAdYIbGArIyHnKxpWAuRNpv+d60BKWrLWZ9/o8 04aiw8qEUq93XRfi4b6h8HDOwTNbsLl0E4J1bvpfFMO0PBA3zUzVG/1xEfQ0E0MzIQ 9HiwtxNs4Q2Lb6Jl9wB2xnHKpN/0t8Ui6n38Fc1Ylq394dD9Dm+yYAOE5084RwQ2oJ LTvQxoMTws5Mw== Date: Tue, 30 Aug 2022 13:12:44 +0530 From: Vinod Koul To: Wolfram Sang Cc: linux-kernel@vger.kernel.org, Kishon Vijay Abraham I , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , linux-phy@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev Subject: Re: [PATCH] phy: move from strlcpy with unused retval to strscpy Message-ID: References: <20220818210056.7205-1-wsa+renesas@sang-engineering.com> Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220818210056.7205-1-wsa+renesas@sang-engineering.com> On 18-08-22, 23:00, 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. Applied, thanks -- ~Vinod