Commit d27cd5cb authored by Martin Schwidefsky's avatar Martin Schwidefsky Committed by Greg Kroah-Hartman

s390/smsgiucv: disable SMSG on module unload

[ Upstream commit 760dd0ee ]

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: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: default avatarSasha Levin <alexander.levin@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e7b720ef
...@@ -189,7 +189,7 @@ static struct device_driver smsg_driver = { ...@@ -189,7 +189,7 @@ static struct device_driver smsg_driver = {
static void __exit smsg_exit(void) static void __exit smsg_exit(void)
{ {
cpcmd("SET SMSG IUCV", NULL, 0, NULL); cpcmd("SET SMSG OFF", NULL, 0, NULL);
device_unregister(smsg_dev); device_unregister(smsg_dev);
iucv_unregister(&smsg_handler, 1); iucv_unregister(&smsg_handler, 1);
driver_unregister(&smsg_driver); driver_unregister(&smsg_driver);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment