summaryrefslogtreecommitdiffstats
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
parentdccccd332d028f57358a8b64ca88e691fc8be5b7 (diff)
downloadlinux-760dd0eeaec1689430243ead14e5a429613d8c52.tar.bz2
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>
-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);