Skip to content
Commit 11a954ee authored by Wei Yongjun's avatar Wei Yongjun Committed by Herbert Xu
Browse files

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: 190873a0 ("crypto: ingenic - Add hardware RNG for Ingenic JZ4780 and X1000")
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: default avatar周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 9a5a668d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment