aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2019-10-29 11:32:30 +0000
committerHerbert Xu <[email protected]>2019-11-08 23:00:46 +0800
commita970429366ceface03beded582b911277f8f2570 (patch)
treeda7f561c92a307d680f0c5ebc0476c50aea39f72 /tools/perf/scripts/python/bin/stackcollapse-record
parentd832a6128558503feb6ab18ac6e2cdefbc32e5a9 (diff)
crypto: amlogic - ensure error variable err is set before returning it
Currently when the call to crypto_engine_alloc_init fails the error return path returns an uninitialized value in the variable err. Fix this by setting err to -ENOMEM. Addresses-Coverity: ("Uninitialized scalar variable") Fixes: 48fe583fe541 ("crypto: amlogic - Add crypto accelerator for amlogic GXL") Signed-off-by: Colin Ian King <[email protected]> Acked-by: Corentin Labbe <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions