[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200608142706.GB7478@osiris>
Date: Mon, 8 Jun 2020 16:27:06 +0200
From: Heiko Carstens <heiko.carstens@...ibm.com>
To: Zou Wei <zou_wei@...wei.com>
Cc: freude@...ux.ibm.com, gor@...ux.ibm.com, borntraeger@...ibm.com,
linux-s390@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] s390/zcrypt: fix kzalloc-simple.cocci warnings
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 <hulkci@...wei.com>
> Signed-off-by: Zou Wei <zou_wei@...wei.com>
> ---
> 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.
Powered by blists - more mailing lists