]> git.dujemihanovic.xyz Git - u-boot.git/commit
driver: rng: Fix SMCCC TRNG crash
authorWeizhao Ouyang <o451686892@gmail.com>
Mon, 4 Mar 2024 14:42:41 +0000 (14:42 +0000)
committerTom Rini <trini@konsulko.com>
Wed, 13 Mar 2024 16:40:43 +0000 (12:40 -0400)
commit1da4d327d49bb068bdc69974e0dee1391dfb30e6
tree8d02b0a2acaf3e9541f368fb5000e3efec3ead63
parent12ccdcd79bddace90dfb6080084b0e36a6d44b37
driver: rng: Fix SMCCC TRNG crash

Fix a SMCCC TRNG null pointer crash due to a failed smccc feature
binding.

Fixes: 53355bb86c25 ("drivers: rng: add smccc trng driver")
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Weizhao Ouyang <o451686892@gmail.com>
drivers/rng/smccc_trng.c