Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp4422900ybg; Mon, 8 Jun 2020 07:32:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwBTa5upN9zjgBWLBFQINIZheLZJe5cN39rqG47AlVeYt7XJFSb5vVDbGNAZ4QgzFVQSxY+ X-Received: by 2002:aa7:c80c:: with SMTP id a12mr22939918edt.140.1591626742756; Mon, 08 Jun 2020 07:32:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591626742; cv=none; d=google.com; s=arc-20160816; b=NB1A9CaSz0cXvm6YlrRQmvDIvilWPLu4cQiINgpetdNiKgDlsM9eH+4kKIu9O/klPr vaH8hKIY2tAUDUB6JVdjHyO44qvTP0F3LJ6ascSKfd9qfgsi3JGxNUaVeTZxS6lIHB1m Ik8t/3CIJWu6iCG/vVYWs9IK++ktV8BH4/ePdmYAiNcXZ0p9lwax/d2dKJGnLt3+sZGE sCUyS4++U1NAxUpXkFs2AmnErsVQsJF6Pt5ojDHA5uLVbBZo1WNSSUO21iWFfa8eVLmU HwTNFj/fgE7c1JV6apbJPpJ0SArcQjqmk9NqbX9A4V9Td7d7lWm2Sn3w+Ax/OGuNRc80 J46g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=NRlXTL5W4zDzoCGI2nc3q40sfFitY0YjlRnUhddl1FI=; b=Ar1hoDd+ChHdM2o9nLKlehEgSi3EE79ADE1n1mp3AIWwKNLIxz5y6SUc4w8vBYgAJ5 2Jm1p1b6Wz6IDmCgSPAt+jRdJB72CSgzOtpnFv5LIXeh7CYXx/a510mneSAjP8QnPQj6 JOfo0CPOTC/QG7F8/j2n2XP3Gpx1JcAKkIId2wtc9gh9WVl7J1lTbiM0ZdEzGU6E2gNj +r8O1e31caGAYrP/rfhRj/PuKML4AMmX1wZoMx3GRglWTu0+ffMSyvoM+HIKiLYHcnqV G7aZHitjNC6XdG+TqU8vFrI5tW5YkEx0JEbhMCN6FeaJEp7SK1a2r1sYq1UYwV99Palq BQkg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y5si8386718edw.121.2020.06.08.07.31.59; Mon, 08 Jun 2020 07:32:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729994AbgFHO1u (ORCPT + 99 others); Mon, 8 Jun 2020 10:27:50 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:23878 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726074AbgFHO1u (ORCPT ); Mon, 8 Jun 2020 10:27:50 -0400 Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 058ERRRI021326; Mon, 8 Jun 2020 10:27:29 -0400 Received: from ppma03ams.nl.ibm.com (62.31.33a9.ip4.static.sl-reverse.com [169.51.49.98]) by mx0a-001b2d01.pphosted.com with ESMTP id 31g7n7yqry-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 08 Jun 2020 10:27:29 -0400 Received: from pps.filterd (ppma03ams.nl.ibm.com [127.0.0.1]) by ppma03ams.nl.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 058EPDgE017538; Mon, 8 Jun 2020 14:27:11 GMT Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by ppma03ams.nl.ibm.com with ESMTP id 31g2s7v51w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 08 Jun 2020 14:27:11 +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 058ER8TO27197480 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 8 Jun 2020 14:27:08 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 766E211C05B; Mon, 8 Jun 2020 14:27:08 +0000 (GMT) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 372A011C066; Mon, 8 Jun 2020 14:27:08 +0000 (GMT) Received: from osiris (unknown [9.171.20.146]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Mon, 8 Jun 2020 14:27:08 +0000 (GMT) Date: Mon, 8 Jun 2020 16:27:06 +0200 From: Heiko Carstens To: Zou Wei Cc: freude@linux.ibm.com, gor@linux.ibm.com, borntraeger@de.ibm.com, linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH -next] s390/zcrypt: fix kzalloc-simple.cocci warnings Message-ID: <20200608142706.GB7478@osiris> References: <1587472548-105240-1-git-send-email-zou_wei@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1587472548-105240-1-git-send-email-zou_wei@huawei.com> X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.216,18.0.687 definitions=2020-06-08_12:2020-06-08,2020-06-08 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 bulkscore=0 priorityscore=1501 clxscore=1011 adultscore=0 lowpriorityscore=0 mlxscore=0 malwarescore=0 impostorscore=0 phishscore=0 mlxlogscore=808 suspectscore=1 cotscore=-2147483648 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2006080100 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 21, 2020 at 08:35:48PM +0800, Zou Wei wrote: > This patch fixes below warning reported by coccicheck > > drivers/s390/crypto/zcrypt_ep11misc.c:198:8-15: WARNING: > kzalloc should be used for cprb, instead of kmalloc/memset > > Fixes: 7384eb725e2d ("s390/zcrypt: add new low level ep11 functions support file") > Reported-by: Hulk Robot > Signed-off-by: Zou Wei > --- > drivers/s390/crypto/zcrypt_ep11misc.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Applied, however without Fixes tag, since this was not a bug.