Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp2969050rwa; Mon, 22 Aug 2022 18:05:39 -0700 (PDT) X-Google-Smtp-Source: AA6agR5sumgrl0yR/3yEha36Ajof9GY2IwzQuKA0kNEGwM/oEZ96dj/G+G8yGs23WbEiDfhUy/iq X-Received: by 2002:a63:3684:0:b0:429:f162:78dd with SMTP id d126-20020a633684000000b00429f16278ddmr19206916pga.473.1661216739741; Mon, 22 Aug 2022 18:05:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661216739; cv=none; d=google.com; s=arc-20160816; b=nL0NML0sRuDWOKocsGLUf0ba2hH2fgdpqDlHilVMm4hMZrUbcswNWURmsjdlhAkIiH DSJImZilrwDIqM7A+bBHeKnXwGPdrQq0oeUz5IDWYKySbN+u8/P+vpcXgLjRqykfuVwH v3Cp6oMBpWtRLiWLLHhkiYzIsiVTcjOtShjiKuOGhoiu9QhWrcOz1PpMAq6rcrR1bK60 stHsOkkjMLMd65Db97RxJGbec1FavRdSDX2Elceh34om4P6LbUNQUYMrI8FRrjWmnHLA /LK8Awt8BxZoJJCfDEUp1KKLXOBTVjFK9yJxuoV1DuEfHkXzFb5p3e69aaSwg8SzbXh1 ko2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=TlU5Dm5QZgZe6UYmO0vXcftIFXvVYT6qkbgTytrrZmg=; b=EjUZ/4gjsd5JyGKSGVY++Cor8EKu3UR8MMsl5sT3okr3X0WXnMH8kv6ZHwgWk5kblo QVwB5veGlcx5fggievjGPNIUwuKsgQMXW6Vi9G1lsckRi4VoeU3GNdQXTMJnbZ7n6b+e jreKuEDKXbSBlzaf8FuQ3ZjoER+VegBgJSTMeh/Uzsp0Ye+LAGQ2+Ql1jd+6RNH6Bqxp jBLY+Aqbg1ozzwX6mnChjh/EOswkqGM+4FfGVOioGLDOKDz5HJiwtj7CAhsOQJcBIYsg ULJ/XSnrCUfKHirkneNH3z4AriabzwZMXKD2P3m4vcT5/c3mkhXRn3iNODftQCCnNj4n LVSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iDw0OdYL; 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 b2-20020a170902d88200b001726f853c90si13582913plz.592.2022.08.22.18.05.27; Mon, 22 Aug 2022 18:05:39 -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=iDw0OdYL; 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 S238609AbiHWBC7 (ORCPT + 99 others); Mon, 22 Aug 2022 21:02:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234268AbiHWBC4 (ORCPT ); Mon, 22 Aug 2022 21:02:56 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C17475723F; Mon, 22 Aug 2022 18:02:53 -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 4AE59B81999; Tue, 23 Aug 2022 01:02:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8D024C433C1; Tue, 23 Aug 2022 01:02:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661216571; bh=0RbBpp7t9NVz/mrK11JCXqRquwpwYw5mb8dwqhMYJVg=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=iDw0OdYLsySfAAHcxDH2mY4Wbrqlg9lb+gJOuRy8Q3NuBU4smOAjuHgPigI/QpZCK 9fzwfjNUOFlJ+PHBIars8BiFleroMtH7DE4Xr1Mld5OcwSitt2sNhZNHl5iFY2f4FW Pgb4qdhoPuNBv7Jq0SnzBZldAVtffu5CHRR5Uo16gxLqy64JUpANp2N4PwwBe/DxOI 85eX/qD2Z4JmWROdxEuQRRlJpa6kUAlQJ7KHzS9Nf5BWO5tkr4IJqA1sT1R4x0Ik5Z RZ6gC1CPDb30bTavoA/SBUsK9/oL/Odh7ouuO/tZg+GggxQ/C+IZGIQKst3jXRav8d EOTD/KZIWi1Ig== Date: Mon, 22 Aug 2022 18:02:49 -0700 From: Jakub Kicinski To: Wolfram Sang Cc: linux-kernel@vger.kernel.org, Stefan Haberland , Jan Hoeppner , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , Vineeth Vijayan , Peter Oberparleiter , Alexandra Winter , Wenjia Zhang , Steffen Maier , Benjamin Block , linux-s390@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH] s390: move from strlcpy with unused retval to strscpy Message-ID: <20220822180249.2c79c7e8@kernel.org> In-Reply-To: <20220818210102.7301-1-wsa+renesas@sang-engineering.com> References: <20220818210102.7301-1-wsa+renesas@sang-engineering.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 23:01:01 +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 > --- > drivers/s390/block/dasd_devmap.c | 2 +- > drivers/s390/block/dasd_eer.c | 4 ++-- > drivers/s390/block/dcssblk.c | 2 +- > drivers/s390/char/hmcdrv_cache.c | 2 +- > drivers/s390/char/tape_class.c | 4 ++-- > drivers/s390/cio/qdio_debug.c | 2 +- > drivers/s390/net/ctcm_main.c | 2 +- > drivers/s390/net/fsm.c | 2 +- > drivers/s390/net/qeth_ethtool.c | 4 ++-- > drivers/s390/scsi/zfcp_aux.c | 2 +- > drivers/s390/scsi/zfcp_fc.c | 2 +- I'm assuming this will go via the s390 tree? Acked-by: Jakub Kicinski If nobody picks it up please feel free to resend the networking parts to us.