aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorNicolai Stange <[email protected]>2021-11-15 15:18:08 +0100
committerHerbert Xu <[email protected]>2021-11-26 16:16:50 +1100
commit559edd47cce4cc407d606b4d7f376822816fd4b8 (patch)
tree942f8b73df00402d05cf3de341ad475abac96141 /tools/perf/scripts/python/bin/stackcollapse-report
parent074bcd4000e0d812bc253f86fedc40f81ed59ccc (diff)
crypto: drbg - make drbg_prepare_hrng() handle jent instantiation errors
Now that drbg_prepare_hrng() doesn't do anything but to instantiate a jitterentropy crypto_rng instance, it looks a little odd to have the related error handling at its only caller, drbg_instantiate(). Move the handling of jitterentropy allocation failures from drbg_instantiate() close to the allocation itself in drbg_prepare_hrng(). There is no change in behaviour. Signed-off-by: Nicolai Stange <[email protected]> Reviewed-by: Stephan Müller <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions