summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorNiklas Schnelle <schnelle@linux.ibm.com>2023-07-07 12:56:22 +0200
committerDavid S. Miller <davem@davemloft.net>2023-07-08 10:07:14 +0100
commit266deeea34ffd28c6b6a63edf2af9b5a07161c24 (patch)
treeea3c0bf72784a7b70e1f6ee9ae7ee5f43a2f5f14 /scripts/gdb/linux/utils.py
parent76631ffa2fd2d45bae5ad717eef716b94144e0e7 (diff)
s390/ism: Do not unregister clients with registered DMBs
When ism_unregister_client() is called but the client still has DMBs registered it returns -EBUSY and prints an error. This only happens after the client has already been unregistered however. This is unexpected as the unregister claims to have failed. Furthermore as this implies a client bug a WARN() is more appropriate. Thus move the deregistration after the check and use WARN(). Fixes: 89e7d2ba61b7 ("net/ism: Add new API for client registration") Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions