diff options
author | Tudor Ambarus <tudor-dan.ambarus@nxp.com> | 2017-04-25 16:26:36 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-05-18 13:19:50 +0800 |
commit | 7fcaf62a9f6348bcdc8d2816f93f64cf7f3f87fc (patch) | |
tree | c58d53682335afd6cabaa2fa62979d81c545d2e7 /drivers/crypto/s5p-sss.c | |
parent | 15a9b363de232236a31922d5a928d1830bc42060 (diff) |
crypto: caam - avoid kzalloc(0) in caam_read_raw_data
The function returns NULL if buf is composed only of zeros.
Signed-off-by: Tudor Ambarus <tudor-dan.ambarus@nxp.com>
Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/s5p-sss.c')
0 files changed, 0 insertions, 0 deletions