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 0E3F2C28B2B for ; Fri, 19 Aug 2022 09:10:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347630AbiHSJKE (ORCPT ); Fri, 19 Aug 2022 05:10:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347966AbiHSJJy (ORCPT ); Fri, 19 Aug 2022 05:09:54 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ECA23F14D7; Fri, 19 Aug 2022 02:09:50 -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 ams.source.kernel.org (Postfix) with ESMTPS id 96C78B8264D; Fri, 19 Aug 2022 09:09:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CA8E8C433C1; Fri, 19 Aug 2022 09:09:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660900188; bh=UUBmmmDR+7st3IGir4vJVCN6kjoBMh2fekZmhviyi3o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OYb79BAkxLx0LR8lOjlIvE1K0+bh7Je5QWAUXgrAYhb9VObESoXpqOTKgsVMLDdUX 8ou+9BpLZhpUD4+0ft46vAYypI3/oPylizhZ+MkZ/DbvVYELJKZxsOwbtLjHStn6I6 xuQ92pOun1X025hRPRwahLWubjQKZ1byIt//7k0w= Date: Fri, 19 Aug 2022 11:09:45 +0200 From: Greg Kroah-Hartman To: Wolfram Sang Cc: linux-kernel@vger.kernel.org, Duncan Sands , Felipe Balbi , Laurent Pinchart , Richard Leitner , Alan Stern , Guenter Roeck , Heikki Krogerus , Valentina Manea , Shuah Khan , linux-usb@vger.kernel.org, usb-storage@lists.one-eyed-alien.net Subject: Re: [PATCH] usb: move from strlcpy with unused retval to strscpy Message-ID: References: <20220818210116.7517-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: <20220818210116.7517-1-wsa+renesas@sang-engineering.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 18, 2022 at 11:01:15PM +0200, 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 You might want to fix up your email server, b4 doesn't think it is sending out valid emails: Grabbing thread from lore.kernel.org/all/20220818210116.7517-1-wsa%2Brenesas%40sang-engineering.com/t.mbox.gz Analyzing 5 messages in the thread Checking attestation on all messages, may take a moment... --- ✗ [PATCH] usb: move from strlcpy with unused retval to strscpy + Reviewed-by: Richard Leitner (✓ DKIM/skidata.com) + Reviewed-by: Laurent Pinchart (✓ DKIM/ideasonboard.com) + Acked-by: Shuah Khan (✓ DKIM/linuxfoundation.org) --- ✗ BADSIG: DKIM/sang-engineering.com --- Total patches: 1