aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorBasavaraj Natikar <[email protected]>2023-01-02 22:00:42 +0530
committerJiri Kosina <[email protected]>2023-01-06 16:06:05 +0100
commit2a33ad4a0ba5a527b92aeef9a313aefec197fe28 (patch)
treed235756db1e01d662b40bff0914ba069fcffcfbb /tools/perf/scripts/python/libxed.py
parentb3d40c3ec3dc4ad78017de6c3a38979f57aaaab8 (diff)
HID: amd_sfh: Fix warning unwind goto
Return directly instead of using existing goto will not cleanup previously allocated resources. Hence replace return with goto to fix warning unwind goto which cleanups previously allocated resources. Fixes: 93ce5e0231d7 ("HID: amd_sfh: Implement SFH1.1 functionality") Reported-by: kernel test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Basavaraj Natikar <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions