diff options
| author | Thomas Richter <tmricht@linux.ibm.com> | 2024-10-24 13:33:54 +0200 |
|---|---|---|
| committer | Heiko Carstens <hca@linux.ibm.com> | 2024-10-29 11:17:18 +0100 |
| commit | de6d22ccdc0904bca56503a024365d50c39a23b1 (patch) | |
| tree | 5e110042fa1b051071dca25f9a131fcdc17d4d61 /tools/perf/scripts/python/bin | |
| parent | s390/cpum_sf: Do not re-enable event after deletion (diff) | |
| download | linux-de6d22ccdc0904bca56503a024365d50c39a23b1.tar.gz linux-de6d22ccdc0904bca56503a024365d50c39a23b1.zip | |
s390/cpum_sf: Consistently use goto out for function exit
When the sampling buffer allocation fails in
__hw_perf_event_init(), jump to the end of the function
and return the result. This is consistent with the other
error handling and return conditions in this function.
Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
Reviewed-by: Hendrik Brueckner <brueckner@linux.ibm.com>
Reviewed-By: Sumanth Korikkar <sumanthk@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
