Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp684220rwd; Wed, 7 Jun 2023 05:43:13 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5Mmi05CdlKM9AJrXtXSutZC67zVwHiM+KrmoXXKr84KnNCSArGOCXVhumBTDdVV0JE0KU1 X-Received: by 2002:a17:90a:690f:b0:255:929c:5166 with SMTP id r15-20020a17090a690f00b00255929c5166mr4719115pjj.26.1686141792881; Wed, 07 Jun 2023 05:43:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686141792; cv=none; d=google.com; s=arc-20160816; b=eMlTNYViEUfdbmNy0TCyO0+34/lo55cjzHHurZpJK949Dz18LWaataose+6Fo+oLPy twL7eJNIbSNKCKGENwtHdJkidmZMfOc/qamg0I6eKCGawT7MzFcKgGHKO+fPjc3mGeck IXgSN0SOlmMlSQ1gR3RWaAl/DGGQ/JsMDm1+mTJSJz7fAs5h9yJj/KNtOBbd42yYRDv7 pMzbEqgSg2TULwjV96Ajiwkm8TfGqvF9+69q/fKQ1gYJcXKuiGDmdJ42MMVTY6pURQJU IhP8JXPGvHqdMGgS3VGlCTwsjqIp3K9feOxn9FRQKp54J0sVZEfoCLPCNdqp4SdOZM52 y6hg== 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=uZ2LOANr+u4Ihn359TEeup/fnljLizrlmjjPmNrRdrg=; b=ohsvHNtZLrPU/PozHO2BsefnDrD4A8tNRU95ynqnhm9ULot9NAc5Z8uWAd0GgmwivL 7Jt3dOKseycnhralG1I2Yqbz0SlouCU0JOs8kafhJLArQ7e0hifTDY1cJit0fBD7rVz2 Boh4U9K139XsVN2xLZ9mWzQUEcdJLx5hGLZDEh8250dNoLTnwuK+cWHpk5U4B9VHai9a URQ5iQmZ5xaIJo8voC/fkfDWoJ3l1TFL5yNorVko2PzgmPHKPVXlnoVMhTVS3ENPPgfb IHFZ9DQCllinOzvkpBUosG0zeuoUnRKRN2h46v+lJ9BNqMs858Ux8lPgDrNnEjPBYy3b NqfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=tE0IqKlR; 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=REJECT 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 a13-20020a655c8d000000b0053fb89f1e10si8662715pgt.501.2023.06.07.05.42.54; Wed, 07 Jun 2023 05:43:12 -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=tE0IqKlR; 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=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240890AbjFGMaQ (ORCPT + 99 others); Wed, 7 Jun 2023 08:30:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240374AbjFGM3f (ORCPT ); Wed, 7 Jun 2023 08:29:35 -0400 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 539771BE5; Wed, 7 Jun 2023 05:29:31 -0700 (PDT) Received: from pps.filterd (m0353724.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 357CLi0O006661; Wed, 7 Jun 2023 12:29:30 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=uZ2LOANr+u4Ihn359TEeup/fnljLizrlmjjPmNrRdrg=; b=tE0IqKlRvQc0BVT8NoAXK5uUPhYwKfRmPCptpYwNswuM4xaf444vWqq94DWCrYGzCCWG 5j3VcdOjvrM1dnkX7zqC8bVzutTyHx534D8SAVQxfVNrx9i1VGkFKWHbO67St2sdQ2RC m9Wrz88neBBx81GURQ3OE1dPHO/1Sb7fskrJKVbgLe9e8YXe9tlsSJIj4TVUrjlochah coKY3OE5zkdOHsRwEMrdzlUcis81itHm+b5J5rEW62lVZL/xmvDRX+6abfJDLCvCDCr/ +rJtyECuC8G1tLBh1/md7JKAGyU/j4+hpweOkH737K2J5Zg4Bp68nI/P8L3z4Zg5lXoA ag== Received: from ppma03ams.nl.ibm.com (62.31.33a9.ip4.static.sl-reverse.com [169.51.49.98]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3r2stw85gb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 07 Jun 2023 12:29:30 +0000 Received: from pps.filterd (ppma03ams.nl.ibm.com [127.0.0.1]) by ppma03ams.nl.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 35797MEV018019; Wed, 7 Jun 2023 12:28:41 GMT Received: from smtprelay03.fra02v.mail.ibm.com ([9.218.2.224]) by ppma03ams.nl.ibm.com (PPS) with ESMTPS id 3r2a768f1t-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 07 Jun 2023 12:28:41 +0000 Received: from smtpav04.fra02v.mail.ibm.com (smtpav04.fra02v.mail.ibm.com [10.20.54.103]) by smtprelay03.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 357CSb8B14877342 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 7 Jun 2023 12:28:37 GMT Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B3C9520043; Wed, 7 Jun 2023 12:28:37 +0000 (GMT) Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 307C520040; Wed, 7 Jun 2023 12:28:37 +0000 (GMT) Received: from [9.179.8.138] (unknown [9.179.8.138]) by smtpav04.fra02v.mail.ibm.com (Postfix) with ESMTP; Wed, 7 Jun 2023 12:28:37 +0000 (GMT) Message-ID: Date: Wed, 7 Jun 2023 14:28:36 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH v4 5/6] s390/uv: replace scnprintf with sysfs_emit Content-Language: en-US To: Steffen Eiden , kvm@vger.kernel.org, linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, Viktor Mihajlovski Cc: Claudio Imbrenda , Nico Boehr , Christian Borntraeger , Heiko Carstens , Hendrik Brueckner References: <20230606180817.3019077-1-seiden@linux.ibm.com> <20230606180817.3019077-6-seiden@linux.ibm.com> From: Janosch Frank In-Reply-To: <20230606180817.3019077-6-seiden@linux.ibm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: CEpg-lUpc2N3ne4tRz6euMI99cgMj0N1 X-Proofpoint-GUID: CEpg-lUpc2N3ne4tRz6euMI99cgMj0N1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-06-07_06,2023-06-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 spamscore=0 priorityscore=1501 suspectscore=0 mlxlogscore=692 adultscore=0 mlxscore=0 phishscore=0 clxscore=1015 malwarescore=0 impostorscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306070100 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL,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 6/6/23 20:08, Steffen Eiden wrote: > Replace scnprintf(page, PAGE_SIZE, ...) with the page size aware > sysfs_emit(buf, ...) which adds some sanity checks. > > Signed-off-by: Steffen Eiden Reviewed-by: Janosch Frank