Messages in this thread | | | Date | Mon, 8 Jun 2020 16:27:06 +0200 | From | Heiko Carstens <> | 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@huawei.com> > Signed-off-by: Zou Wei <zou_wei@huawei.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.
| |