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 5E77EC38145 for ; Thu, 8 Sep 2022 08:13:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231542AbiIHIM6 (ORCPT ); Thu, 8 Sep 2022 04:12:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231526AbiIHIMi (ORCPT ); Thu, 8 Sep 2022 04:12:38 -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 22BCE82FAF for ; Thu, 8 Sep 2022 01:12:01 -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 D497C61B96 for ; Thu, 8 Sep 2022 08:12:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 79284C433D6; Thu, 8 Sep 2022 08:11:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1662624720; bh=cqAF7uLIYRvFm/s6h0fT5UKX4Avpffz+yCrPlNi9h/I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Sb3pGGr/z2qNEtvbcKTPTG2JmAce7cjUx+qcFVGAi6vx1w/9hjTwkm2yhVR4ceBAa ccCXPaVZjsuKFhEKBROtkRKnGq/YKtRyESs7yfIXNlJ3OP+kF69MkCmHx8TiSU+C74 tB0a3+iYfQQTTlzO3mv3Nniy6GvOFWX8yxb9VdE+jgA0bYgOnwMs3tXwRvofQCCvuG UuVltGM7eBbmN2ZjP2TGB0+nByEOTOnmoF2O3KbvLuZKYkaUYZZTyYHK+S4P6luLRV wmWjvsI+LTzDVPlXDFWKXwGoyfUFh1doEXa8WUylLDMfqpW6ntF5NZCmQ7/ufBWbBf 0RWpukoOR3/cg== Date: Thu, 8 Sep 2022 09:11:56 +0100 From: Lee Jones To: Wolfram Sang Cc: linux-kernel@vger.kernel.org, Peter Tyser Subject: Re: [PATCH] mfd: move from strlcpy with unused retval to strscpy Message-ID: References: <20220818210030.7012-1-wsa+renesas@sang-engineering.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220818210030.7012-1-wsa+renesas@sang-engineering.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 18 Aug 2022, 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 > --- > drivers/mfd/htc-i2cpld.c | 2 +- > drivers/mfd/lpc_ich.c | 2 +- > drivers/mfd/mfd-core.c | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) Applied, thanks. -- Lee Jones [李琼斯]