diff options
author | Tony Krowiak <akrowiak@linux.ibm.com> | 2022-07-06 17:43:29 -0400 |
---|---|---|
committer | Alexander Gordeev <agordeev@linux.ibm.com> | 2022-07-15 07:07:36 +0200 |
commit | 2f23256c0ea20627c91ea2d468cda945f68c3395 (patch) | |
tree | f5ea67577ac09a5c31fbe5ee7d3fa605de9cae83 /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | a0b0987a781157263b82f4022649cf686d36c787 (diff) |
s390/ap: fix error handling in __verify_queue_reservations()
The AP bus's __verify_queue_reservations function increments the ref count
for the device driver passed in as a parameter, but fails to decrement it
before returning control to the caller. This will prevents any subsequent
removal of the module.
Signed-off-by: Tony Krowiak <akrowiak@linux.ibm.com>
Reported-by: Tony Krowiak <akrowiak@linux.ibm.com>
Reviewed-by: Harald Freudenberger <freude@linux.ibm.com>
Fixes: 4f8206b88286 ("s390/ap: driver callback to indicate resource in use")
Link: https://lore.kernel.org/r/20220706222619.602094-1-akrowiak@linux.ibm.com
Cc: stable@vger.kernel.org
[agordeev@linux.ibm.com fixed description, added Fixes and Link]
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions