diff options
author | Zou Wei <zou_wei@huawei.com> | 2020-04-21 20:35:48 +0800 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2020-06-16 13:44:04 +0200 |
commit | 79d6c50227103a9f7df9690b38ff74127f69d3cf (patch) | |
tree | 31e4e4fd12038e8dedde8d53f7375d3f516ac0e1 /drivers/platform | |
parent | ecc28f58e6cc479253bbd9aced013d8d34fef896 (diff) |
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>
Diffstat (limited to 'drivers/platform')
0 files changed, 0 insertions, 0 deletions