Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp968909rwb; Tue, 27 Sep 2022 06:56:04 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7tTbph9Vt2Gkw8GMY0rIXu8WdHuWmtp4Rj8LYVVz41r/ZlIM4yk4rzeRBhpfbSTSBbC7fa X-Received: by 2002:a17:907:60cf:b0:782:d3ab:55b8 with SMTP id hv15-20020a17090760cf00b00782d3ab55b8mr16477462ejc.6.1664286963867; Tue, 27 Sep 2022 06:56:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664286963; cv=none; d=google.com; s=arc-20160816; b=MlbcBpnPO1W7JO7LoqBpnTr6qh9ie+mVyroo2yHi9kYZoTnz9WLoxqZAnNLhs3JBI3 onR//3YX9b0Wp0CDLvtmNKF/AM/EWHOe0R3X4kjulXE2L2A9j8eKABBUn87OA0vyWiqA kywq8CXObzdCFn4u4AGBgFVW9t5M0KWp0tHSC9c4smchY3KBHWSkoviHWKUOb8OL5rsk Wo+zh1d2asKDsIvsKSzsLBfYrbpaXt/wFQJuuzv3tguSCMGYeOLgMCn61C/g5VOy7iC+ cID9wXRU1K46clrYjhebRvP58ZkgSYGKvjoX8M63Sz57UYtX2a+daHCU1RaAGVmyR/7o Lnlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=MdCRng429X186D9J5471uKUeBpf1L3mUsZeSHfDOuuo=; b=BiQBXl65jUiJQg17K/0YGP06/UkBzr6OskHT5L50idtZucJYoRo/mDQLS0ELkJDpZt U7Hf/wTn9Su8qRr7D7pM22Pikx71NyaB9NBU6sm25spe/1IN+FnGPekOAu5QU8Qtqkbj TE7HRtUYsFuMGv60wRhVYudpCtEC7VgAZS9MGUyx10ATXNnxDAAU1AANKNusyw4BCFaB gCl9pVG2OEHwmeZqA/JjYJObNr859cir+sycLoctIkFYbKTxFUiiuDX5W2YNo3y7DGhx 3LHe4Gc6NzpkM1hB8MzcOfWEQZMzNm+TgBBhSo25fQQFBVvWKE12byjbqb6eyqLyNunI Uz6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=Ea++vmza; 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 z19-20020a05640235d300b0043d7a3c3cddsi1900518edc.408.2022.09.27.06.55.37; Tue, 27 Sep 2022 06:56:03 -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=Ea++vmza; 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 S232040AbiI0Ndy (ORCPT + 99 others); Tue, 27 Sep 2022 09:33:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43754 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232007AbiI0NdZ (ORCPT ); Tue, 27 Sep 2022 09:33:25 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9DB3929CB2; Tue, 27 Sep 2022 06:32:03 -0700 (PDT) Received: from pps.filterd (m0187473.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 28RC7MK7021419; Tue, 27 Sep 2022 13:31:55 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=pp1; bh=MdCRng429X186D9J5471uKUeBpf1L3mUsZeSHfDOuuo=; b=Ea++vmzat+1IfdSk5AE8yUJBcop1GbKcnP2NoXbX/dbGGYA9QRi9t7/kwgfnN8xIIfaL ggq5fz5qhSr2SSScuUd8DxhEzavE23skcgkzrLFTnZU0ceiFXTsIpTAssbbXEOrW/epZ EqfP5OMXXosSPMJkwk4zR2/GxKxl1L8lwy5oiYiP4YYslzHH7ycs7K9wchAVC/J9tj2V I+qPKnzogVaBILi2/4xNhUg3r5a/Qt10bH0/BqvQreC7ysYW6Rxy39WkiZyfzYnxtKCJ pTFaQY/djLGnmjUF9SIinb6C9jU0apkHWuSkafNwlZmv8JVcz6DNbJsb6ibeUnYBrSPV JA== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3juwmn0x1h-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 27 Sep 2022 13:31:54 +0000 Received: from m0187473.ppops.net (m0187473.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 28RC7woq023440; Tue, 27 Sep 2022 13:31:54 GMT Received: from ppma06ams.nl.ibm.com (66.31.33a9.ip4.static.sl-reverse.com [169.51.49.102]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3juwmn0wyy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 27 Sep 2022 13:31:54 +0000 Received: from pps.filterd (ppma06ams.nl.ibm.com [127.0.0.1]) by ppma06ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 28RDQB7l007072; Tue, 27 Sep 2022 13:31:51 GMT Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by ppma06ams.nl.ibm.com with ESMTP id 3jss5j3w2g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 27 Sep 2022 13:31:51 +0000 Received: from d06av24.portsmouth.uk.ibm.com (mk.ibm.com [9.149.105.60]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 28RDVmtU5374536 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 27 Sep 2022 13:31:48 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8808642041; Tue, 27 Sep 2022 13:31:48 +0000 (GMT) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 401AF42042; Tue, 27 Sep 2022 13:31:48 +0000 (GMT) Received: from [9.152.224.236] (unknown [9.152.224.236]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTP; Tue, 27 Sep 2022 13:31:48 +0000 (GMT) Message-ID: <03ac1fb3-ea5d-d5b8-1d7e-92c13fba339d@linux.ibm.com> Date: Tue, 27 Sep 2022 15:31:47 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.13.1 Subject: Re: [PATCH 3/7] s390/qeth: Convert snprintf() to scnprintf() Content-Language: en-US To: Jakub Kicinski , Jules Irenge Cc: borntraeger@linux.ibm.com, svens@linux.ibm.com, linux-s390@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, agordeev@linux.ibm.com References: <20220926173312.7a735619@kernel.org> From: Alexandra Winter In-Reply-To: <20220926173312.7a735619@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: M714Eh_pQXytoOwcg4b1iSr1bFrEZ10w X-Proofpoint-ORIG-GUID: LrFxKqbuAeCJmJhsbHQj367zWD2JyA2_ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-09-27_05,2022-09-27_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 impostorscore=0 bulkscore=0 mlxscore=0 clxscore=1015 suspectscore=0 lowpriorityscore=0 mlxlogscore=819 spamscore=0 phishscore=0 priorityscore=1501 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2209270080 X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS 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 27.09.22 02:33, Jakub Kicinski wrote: > On Mon, 26 Sep 2022 19:42:38 +0100 Jules Irenge wrote: >> Coccinnelle reports a warning >> Warning: Use scnprintf or sprintf >> Adding to that, there has been a slow migration from snprintf to scnprintf. >> This LWN article explains the rationale for this change >> https: //lwn.net/Articles/69419/ >> Ie. snprintf() returns what *would* be the resulting length, >> while scnprintf() returns the actual length. >> >> Signed-off-by: Jules Irenge > > Looks legit but please repost this separately. > We only see patch 3 of the series. When you repost, you can add Reviewed-by: Alexandra Winter Thank you Alexandra