commit | 7fcaf62a9f6348bcdc8d2816f93f64cf7f3f87fc | [log] [tgz] |
---|---|---|
author | Tudor Ambarus <tudor-dan.ambarus@nxp.com> | Tue Apr 25 16:26:36 2017 +0300 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu May 18 13:19:50 2017 +0800 |
tree | c58d53682335afd6cabaa2fa62979d81c545d2e7 | |
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>