summaryrefslogtreecommitdiffstats
path: root/drivers/s390/net/smsgiucv.c
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2018-04-03 11:08:52 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2018-04-16 09:10:17 +0200
commit760dd0eeaec1689430243ead14e5a429613d8c52 (patch)
tree482fea0398f0fe947db9526df99f8eae3c5e3d04 /drivers/s390/net/smsgiucv.c
parents390/sclp: avoid potential usage of uninitialized value (diff)
downloadlinux-760dd0eeaec1689430243ead14e5a429613d8c52.tar.xz
linux-760dd0eeaec1689430243ead14e5a429613d8c52.zip
s390/smsgiucv: disable SMSG on module unload
The module exit function of the smsgiucv module uses the incorrect CP command to disable SMSG messages. The correct command is "SET SMSG OFF". Use it. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/net/smsgiucv.c')
-rw-r--r--drivers/s390/net/smsgiucv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/net/smsgiucv.c b/drivers/s390/net/smsgiucv.c
index 3b0c8b8a7634..066b5c3aaae6 100644
--- a/drivers/s390/net/smsgiucv.c
+++ b/drivers/s390/net/smsgiucv.c
@@ -176,7 +176,7 @@ static struct device_driver smsg_driver = {
static void __exit smsg_exit(void)
{
- cpcmd("SET SMSG IUCV", NULL, 0, NULL);
+ cpcmd("SET SMSG OFF", NULL, 0, NULL);
device_unregister(smsg_dev);
iucv_unregister(&smsg_handler, 1);
driver_unregister(&smsg_driver);