diff options
author | Wei Yongjun <[email protected]> | 2020-08-04 08:11:53 +0000 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2020-08-21 14:43:51 +1000 |
commit | 11a954eebc4396b51af745e5242df05f71be6d9e (patch) | |
tree | 0df2ddb2575847f33fd4c7aedda864b0e7ee1d1e /tools/testing/selftests/bpf/prog_tests | |
parent | 9a5a668dc348f98de464114411421c4e9381cf21 (diff) |
crypto: ingenic - Drop kfree for memory allocated with devm_kzalloc
It's not necessary to free memory allocated with devm_kzalloc
and using kfree leads to a double free.
Fixes: 190873a0ea45 ("crypto: ingenic - Add hardware RNG for Ingenic JZ4780 and X1000")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Wei Yongjun <[email protected]>
Reviewed-by: 周琰杰 (Zhou Yanjie) <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests')
0 files changed, 0 insertions, 0 deletions