linux/drivers/s390
Niklas Schnelle 266deeea34 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: 89e7d2ba61 ("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>
2023-07-08 10:07:14 +01:00
..
block libnvdimm for 6.5 2023-07-01 08:48:02 -07:00
char ARM64: 2023-07-03 15:32:22 -07:00
cio s390 updates for 6.5 merge window 2023-06-27 15:49:10 -07:00
crypto s390/vfio-ap: wire in the vfio_device_ops request callback 2023-06-06 13:42:07 +02:00
net s390/ism: Do not unregister clients with registered DMBs 2023-07-08 10:07:14 +01:00
scsi scsi: zfcp: Declare SCSI host template const 2023-03-24 19:19:20 -04:00
virtio virtio: add VIRTIO_F_NOTIFICATION_DATA feature support 2023-04-21 03:02:35 -04:00
Makefile