Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp433568rwe; Thu, 25 Aug 2022 03:09:32 -0700 (PDT) X-Google-Smtp-Source: AA6agR6nRDLlKRAOuLfSgd7QP9rrm6vjn3z3tsA+xg0dSHsCYWFuuhIfEG9OaWDi9YdB+zrZmS/o X-Received: by 2002:a17:90a:1b2d:b0:1fb:25f2:f8a1 with SMTP id q42-20020a17090a1b2d00b001fb25f2f8a1mr12696782pjq.178.1661422172698; Thu, 25 Aug 2022 03:09:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661422172; cv=none; d=google.com; s=arc-20160816; b=yNq+LtgLxbGwA8ZmturOHoCa3tIidA5GbMVavJea9vn2jnQ0nGQqxT/OiO840OHD3L Q3hWYDll2N5SXXO1ipyk7qZSyY3srC3C7vwUJ2DkefuvpeB7xB3fJtD9RVtKpsXIYVRQ T7Lf7iUiLjKhzPyo9afhq/zUs+9ZYeAfX8ujz8e1RSTeYBCOaIxVWx2I4JC91cIOTwSb YN7vWcUC4i4pTaMIqWYaxdOe1XgFZb/eYgxDAo2FprAY9+7ZI5HVHYR/w7KIUjlw2jGu Nq4SROnL73DP4i7NuxpJQbGCY23dSHn++9eI1rExGwIVnxhKtNIMJ0CDtlaHaH4o+3qi /Lcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date:dkim-signature; bh=VB9H3sGrozXKC2aOoLYE1Ku3vV88boT/SsH7Oqp4H3Y=; b=w+3hN8lZm+Y151msXEFpGIf8bOVYkBVn0QwBlzUXD2GOkjE1i7C/aWIkMLYuOos5/T QGtBi+1EYYmbFax/ygOmX2Fek9QJydy9k4ympusct3Emx5h4BD9gADri3YpyUxsORpCW FRaozak6AHXREYEM1qti44ZPw7JqJ44uapyZrqrQP2Id8KUKbnxG18BYmwVQ3/si8RGx 2qGY3CFnD2ueCOzdrrliEKCEfx6ypCLUq0y6QEPqN1Di8rj2GWTxeXBJD68MFZaGyeKA +PyBM/Ohy3mLrUB/VDQEG5PObAkaHD2YSFhej8qqpmCjy0LamK31Vp7nLxxpuaL0D5cp wuvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=p6tWHNc1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a3-20020a1709027e4300b00171e397f820si17659146pln.309.2022.08.25.03.09.19; Thu, 25 Aug 2022 03:09:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=p6tWHNc1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236917AbiHYJos (ORCPT + 99 others); Thu, 25 Aug 2022 05:44:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229657AbiHYJoq (ORCPT ); Thu, 25 Aug 2022 05:44:46 -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 90103DFC; Thu, 25 Aug 2022 02:44:45 -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 2C71361C18; Thu, 25 Aug 2022 09:44:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EFAF4C433D6; Thu, 25 Aug 2022 09:44:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661420684; bh=duxY6iP87cb+j1/CnXM6KEwLijn2BoG0Xx4ba6lRlgU=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=p6tWHNc1T6sWQnYUAWeEV+XuBs/IEp5bXt54K913p2NoB2MPy1YhhbaAxKLZ/2/Tm jWpWkRdnlE7KmCQC38HT76YABkTsuaU90TTw0d4ELzt7JzVQq90awU4qPbg8Qjjmcb HvnnW9FJW3yuZXECemnF+odFCe7IdwBtNQkiEBV/MBijKBFHst02jyNanCiWlUuAE4 FMR2rgB68xhhU80q50m77zbYRl+7ZuMHgvNcEa3iMTbCGx8rUWdxd5E6NlipkbtDrX qtMYvVuLPEcYUf8Z8v0HyrtBN03wfMiqsdPoYTwtpukCLokeU5tU1U0M7CqgOmfGeK s8Fy+dZvSHI8g== Date: Thu, 25 Aug 2022 11:44:40 +0200 (CEST) From: Jiri Kosina To: Wolfram Sang cc: linux-kernel@vger.kernel.org, Benjamin Tissoires , Ping Cheng , Jason Gerecke , linux-input@vger.kernel.org, linux-usb@vger.kernel.org Subject: Re: [PATCH] HID: move from strlcpy with unused retval to strscpy In-Reply-To: <20220818210010.6745-1-wsa+renesas@sang-engineering.com> Message-ID: References: <20220818210010.6745-1-wsa+renesas@sang-engineering.com> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 Applied, thank you. -- Jiri Kosina SUSE Labs