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 /scripts/lib/kdoc/kdoc_files.py | |
parent | db417646fecd10b330c9dd611a39999520553bf2 (diff) |
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 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions