Home
last modified time | relevance | path

Searched hist:"79 d6c50227103a9f7df9690b38ff74127f69d3cf" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/s390/crypto/
H A Dzcrypt_ep11misc.cdiff 79d6c50227103a9f7df9690b38ff74127f69d3cf Tue Apr 21 14:35:48 CEST 2020 Zou Wei <zou_wei@huawei.com> s390/zcrypt: use kzalloc

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

Link: https://lkml.kernel.org/r/1587472548-105240-1-git-send-email-zou_wei@huawei.com
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zou Wei <zou_wei@huawei.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>