Commit 2f23256
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 <[email protected]>
Reported-by: Tony Krowiak <[email protected]>
Reviewed-by: Harald Freudenberger <[email protected]>
Fixes: 4f8206b ("s390/ap: driver callback to indicate resource in use")
Link: https://lore.kernel.org/r/[email protected]
Cc: [email protected]
[[email protected] fixed description, added Fixes and Link]
Signed-off-by: Alexander Gordeev <[email protected]>1 parent a0b0987 commit 2f23256
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1435 | 1435 | | |
1436 | 1436 | | |
1437 | 1437 | | |
1438 | | - | |
| 1438 | + | |
1439 | 1439 | | |
1440 | 1440 | | |
1441 | 1441 | | |
| |||
0 commit comments