Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1721592iob; Fri, 29 Apr 2022 11:14:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxFpmkTloL70dilx0W+cbcItwZxGR+CPb4t47J4UgK96LMf4EQkS83bLuROGxu5EJiJqxfi X-Received: by 2002:a05:651c:17a3:b0:245:f39e:f2d2 with SMTP id bn35-20020a05651c17a300b00245f39ef2d2mr285888ljb.490.1651256060010; Fri, 29 Apr 2022 11:14:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651256060; cv=none; d=google.com; s=arc-20160816; b=tcDPewpnPVdNHVJKFaFX8pe5FedKX/EQUdcnaRygMkVAlS+cdqHCOxeH65TnXMvyfe 2kDphWT42LInNLmJ5XE6RK+qr4UUqO8zLm/G+XlmXBPogan66oywgFxQ+9fY3pe+Qglp ISSMp5U43mAMdhEflNpD1QsSGG0TVKxi18lr9T1CjRjfZJf9caKwtaLECxVkLrz3dd/G zrcJdaei25wUx1K44a81kxpmd1vDWvjGhQfAbDlMBN4nXwQ0+V91dLWhxEVYnWtjfWis lXmRkF+Vq2LxzTrqbNAf/9xiEHjkKlJieNRJaANZfRTX+Xcb2bhY8pF82pAH5vmBGKKw StaQ== 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:subject :from:references:cc:to:content-language:user-agent:mime-version:date :message-id:dkim-signature; bh=Ta1fyNf2U9jHeIRottQ/e61hn8ynFzXkSkb2SGz6/B0=; b=p3lSpvgMRxlLPqi/hQ0Oo9EFZQ/F9YLx83GdALg1qQJLAD6WegnaET6W3MNY/mhwBj lRsEtP1cawhTcR1yzMkADPm/wFYR7djZQBgfy5p6Ld2ax6xn72JORTZO27k7lXF4kVGT aJE+g6JM58mkoLOLXweFS8FW/rWkEpZFMzDR3IBNBV050L/vDw/xGaOnh1BoF1nokum3 sRtQO5CnAqrYWc0SdPHFBomT1ni5Iwkq+Lf2q9qRBKJSxeIkKLUHNkYfWpy8yrK/+l6r m7Ed2JSsRiCaq2pGYBbk63fB/s4K6mYnD6OSgBPBMdCsbLu3gZbfTkh3u2tpzC1ykcCe tE5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=RyGh37gA; 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 q12-20020a05651c054c00b0024dd61af3dcsi9022278ljp.9.2022.04.29.11.13.52; Fri, 29 Apr 2022 11:14:20 -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=RyGh37gA; 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 S1359584AbiD2Mzr (ORCPT + 99 others); Fri, 29 Apr 2022 08:55:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359582AbiD2Mzp (ORCPT ); Fri, 29 Apr 2022 08:55:45 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88DE7CAB95; Fri, 29 Apr 2022 05:52:25 -0700 (PDT) Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 23TCGbI6030219; Fri, 29 Apr 2022 12:52:20 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : mime-version : to : cc : references : from : subject : in-reply-to : content-type : content-transfer-encoding; s=pp1; bh=Ta1fyNf2U9jHeIRottQ/e61hn8ynFzXkSkb2SGz6/B0=; b=RyGh37gAnjuCCJYq3xyCOOUpKY9gP9mR89UyBS+bguTbFTI819tPxrwlmM4VUIJOYFw2 cmR9FNJ0vvFJ9Z6GiOKFFPZaU0yFiz9XC4OxqFsVMss1Svjs3L0vLquW7ctOu7EQJApS 5D+6MVtLen/zX+GbGQsvn19LPK3zzQzbMLdJEmfWUdVcZC0ikitvD9VQ9OZlaS0mR9Kp VKrGNx6GywA6hzcaYLmwXx7mkgaaV9OglcTrJGsKX5Q8yjLqPmuptcfgVOCqlRM2aqwE 8Z+vPABnvxqo+OfU+iKz1cxIycirSVy+baS+8hSv1y6zqgwVkTES/ik0VjDt9iMYV3qg Ww== Received: from ppma03ams.nl.ibm.com (62.31.33a9.ip4.static.sl-reverse.com [169.51.49.98]) by mx0b-001b2d01.pphosted.com (PPS) with ESMTPS id 3fqtvxkk63-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Apr 2022 12:52:20 +0000 Received: from pps.filterd (ppma03ams.nl.ibm.com [127.0.0.1]) by ppma03ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 23TCl5nm017236; Fri, 29 Apr 2022 12:52:18 GMT Received: from b06cxnps4074.portsmouth.uk.ibm.com (d06relay11.portsmouth.uk.ibm.com [9.149.109.196]) by ppma03ams.nl.ibm.com with ESMTP id 3fm93915dn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Apr 2022 12:52:18 +0000 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 23TCqFuj42860830 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 29 Apr 2022 12:52:15 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 265B1AE051; Fri, 29 Apr 2022 12:52:15 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C0B1DAE045; Fri, 29 Apr 2022 12:52:14 +0000 (GMT) Received: from [9.145.33.84] (unknown [9.145.33.84]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTP; Fri, 29 Apr 2022 12:52:14 +0000 (GMT) Message-ID: Date: Fri, 29 Apr 2022 14:52:14 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Content-Language: en-US To: Haowen Bai , svens@linux.ibm.com Cc: agordeev@linux.ibm.com, borntraeger@linux.ibm.com, gor@linux.ibm.com, hca@linux.ibm.com, hoeppner@linux.ibm.com, linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org References: <1650348310-18553-1-git-send-email-baihaowen@meizu.com> From: Stefan Haberland Subject: Re: [PATCH V2] s390/dasd: Use kzalloc instead of kmalloc/memset In-Reply-To: <1650348310-18553-1-git-send-email-baihaowen@meizu.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: QnLeZxH7AmxS8Dv7Tbn-DWKMe5Vj0fJj X-Proofpoint-GUID: QnLeZxH7AmxS8Dv7Tbn-DWKMe5Vj0fJj X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.858,Hydra:6.0.486,FMLib:17.11.64.514 definitions=2022-04-29_06,2022-04-28_01,2022-02-23_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 lowpriorityscore=0 priorityscore=1501 spamscore=0 suspectscore=0 clxscore=1011 mlxscore=0 impostorscore=0 mlxlogscore=620 adultscore=0 phishscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2202240000 definitions=main-2204290072 X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,NICE_REPLY_A,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 Am 19.04.22 um 08:05 schrieb Haowen Bai: > Use kzalloc rather than duplicating its implementation, which > makes code simple and easy to understand. > > Signed-off-by: Haowen Bai > --- > V1->V2: also remove the isglobal assigment above, so the whole else block > could go away thanks, applied!