Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3683459rwa; Tue, 23 Aug 2022 08:28:05 -0700 (PDT) X-Google-Smtp-Source: AA6agR4PUWyA+jXMGVMOhaTNUqv8HyM81C+Q1RFRQgkRaj46x7wyarmk/Zi0J1LdrXrDUMdrgDgr X-Received: by 2002:a17:903:2452:b0:172:cf0a:d137 with SMTP id l18-20020a170903245200b00172cf0ad137mr16619704pls.95.1661268485357; Tue, 23 Aug 2022 08:28:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661268485; cv=none; d=google.com; s=arc-20160816; b=k4o9UN/rmgfH7ZPOp4KyhRWzLO7ul50GvCSEtDWz5qb7Qc0ZVTknk1Zb8pG9//Di8J XrTkyzmYQo6LkWjSMeKNjsggQLF1gPmEk6hlJAGZDWYTvmfqDGQXfjx5Zb9u7A2pA5QH z076/reUBRO4B673hIiafhStX6e5/uDr0iUdKjNzUVH87Kh46iNsj5F4Kza5fDyOXFUS clIZDpbUnx68AI7tTYRQoFPey9frb4veXC6ZTIbN2Ngw88ecAT8ZNDpfCcwEQmzuUJpE eCQg7BETcoCUtNjOboPIlEFBRWenT7rNM1yYlep0cp7BnxI5rLZBMeiWu2o3nhMj8ve9 sUEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:content-disposition :references:message-id:subject:cc:to:from:date:dkim-signature; bh=WbtKC7chpqC1IcOcrEjrWtevRugPmoaBI9Cx6n4JziY=; b=pvq9Q4Cf8O6zwhaWf50he4flhOpXaUhT46zwpcBkt0OKEnfU7UuEbwrhVCJCrx7bDz cRhLPaxV4acrPivGUnGqKj61Ty4Vp3JVHqshmYpMvwCoLONWXh836WpTlRSLdJ2U5iyb itoe2ZP9ABmrBdikaUMqHAD5hs63bGG2F3b+1Z1zzkRCJVhxebKU3WTlq17E7pNOof7p yAtSjP11hggHW09+YVFjNarOyLCe96cLpvrSAsD99YrdAZ2xyvPOouqKdjOV5LY93hug OJAGKwqfhI3fha1MJFq3k4O3QmdmB4jlHBuCC1rnrCblMlyh83aa5IPVl63x4BG4QgBG d22w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=JHGbi38D; 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=ibm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o23-20020a63fb17000000b0042a866cca7dsi10396884pgh.16.2022.08.23.08.27.52; Tue, 23 Aug 2022 08:28:05 -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=@ibm.com header.s=pp1 header.b=JHGbi38D; 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=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243602AbiHWPKV (ORCPT + 99 others); Tue, 23 Aug 2022 11:10:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241070AbiHWPKD (ORCPT ); Tue, 23 Aug 2022 11:10:03 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4B1513A395; Tue, 23 Aug 2022 05:43:33 -0700 (PDT) Received: from pps.filterd (m0098409.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 27NCGsdl021750; Tue, 23 Aug 2022 12:43:30 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=date : from : to : cc : subject : message-id : references : content-type : in-reply-to : mime-version; s=pp1; bh=WbtKC7chpqC1IcOcrEjrWtevRugPmoaBI9Cx6n4JziY=; b=JHGbi38DwxXPWEP2G/nacxqSd58GJP1XY0ADDjNIO9cAkqOZJtd9Dm3TgErkUwGje9TX 7uG7fby/nZ2F5ft1h45x7TaCAEHQbvzGP032v+2sAm0g5x+YZK7DFUc3pYQTi5n1MYYA iC37zbV3XDp42cAEmHbNCEFMM6q90rMkTtD6GpjAuRsqMMKS+MWUkpccyH9dZWuY5mYR x8WItYgmZU8aNZHB/PrJy9qFCwoigV91JTYpkpspbXfEsBSVcA1nDS/8hD682i3TP2cw EGq+7iSI2QdK5QqAcoo94kk37jq1Gouy+WEovCUEuLX+GW+FJTyOpBkLEG4H0KoQo14I 5g== Received: from ppma02fra.de.ibm.com (47.49.7a9f.ip4.static.sl-reverse.com [159.122.73.71]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3j4xru0sc9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 23 Aug 2022 12:43:29 +0000 Received: from pps.filterd (ppma02fra.de.ibm.com [127.0.0.1]) by ppma02fra.de.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 27NCMtbs014099; Tue, 23 Aug 2022 12:43:27 GMT Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by ppma02fra.de.ibm.com with ESMTP id 3j2q88ts54-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 23 Aug 2022 12:43:27 +0000 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 27NChOpo33292782 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 23 Aug 2022 12:43:24 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5C52B11C04C; Tue, 23 Aug 2022 12:43:24 +0000 (GMT) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9B47D11C052; Tue, 23 Aug 2022 12:43:23 +0000 (GMT) Received: from localhost (unknown [9.171.95.166]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Tue, 23 Aug 2022 12:43:23 +0000 (GMT) Date: Tue, 23 Aug 2022 14:43:22 +0200 From: Vasily Gorbik To: Wolfram Sang Cc: linux-kernel@vger.kernel.org, Stefan Haberland , Jan Hoeppner , Heiko Carstens , 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: References: <20220818210102.7301-1-wsa+renesas@sang-engineering.com> Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220818210102.7301-1-wsa+renesas@sang-engineering.com> X-TM-AS-GCONF: 00 X-Proofpoint-GUID: Kjxn_1es0zlqUhLUsQAhDxF_kltSf8R8 X-Proofpoint-ORIG-GUID: Kjxn_1es0zlqUhLUsQAhDxF_kltSf8R8 X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-08-23_05,2022-08-22_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 priorityscore=1501 lowpriorityscore=0 suspectscore=0 impostorscore=0 bulkscore=0 malwarescore=0 clxscore=1011 mlxscore=0 adultscore=0 phishscore=0 mlxlogscore=894 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2207270000 definitions=main-2208230050 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,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, Aug 18, 2022 at 11:01:01PM +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 Squashed it together with https://lore.kernel.org/r/20220818205948.6360-1-wsa+renesas@sang-engineering.com and applied to s390 tree. Thank you!