diff options
| author | James Cowgill <james.cowgill@blaize.com> | 2022-08-01 20:04:18 +0000 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2022-08-19 18:39:35 +0800 |
| commit | 042b4b169c6fb9d4df268d66282d7302dd73d37b (patch) | |
| tree | 8d722cdcb291c74c40822f008b6a7ad1de73ba4b /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | crypto: qcom-rng - Fix qcom_rng_of_match unused warning (diff) | |
| download | linux-042b4b169c6fb9d4df268d66282d7302dd73d37b.tar.gz linux-042b4b169c6fb9d4df268d66282d7302dd73d37b.zip | |
hwrng: arm-smccc-trng - fix NO_ENTROPY handling
The SMCCC_RET_TRNG_NO_ENTROPY switch arm is never used because the
NO_ENTROPY return value is negative and negative values are handled
above the switch by immediately returning.
Fix by handling errors using a default arm in the switch.
Fixes: 0888d04b47a1 ("hwrng: Add Arm SMCCC TRNG based driver")
Signed-off-by: James Cowgill <james.cowgill@blaize.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
