aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJia-Ju Bai <[email protected]>2021-05-06 18:04:38 -0700
committerLinus Torvalds <[email protected]>2021-05-07 00:26:32 -0700
commit31d82c2c787d5cf65fedd35ebbc0c1bd95c1a679 (patch)
tree882429918309678b87081acfe5593c373c60c251 /tools/perf/scripts/python/stackcollapse.py
parenta119b4e5186c283ee13850b65004de6d746a81be (diff)
kernel: kexec_file: fix error return code of kexec_calculate_store_digests()
When vzalloc() returns NULL to sha_regions, no error return code of kexec_calculate_store_digests() is assigned. To fix this bug, ret is assigned with -ENOMEM in this case. Link: https://lkml.kernel.org/r/[email protected] Fixes: a43cac0d9dc2 ("kexec: split kexec_file syscall code to kexec_file.c") Signed-off-by: Jia-Ju Bai <[email protected]> Reported-by: TOTE Robot <[email protected]> Acked-by: Baoquan He <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions