Skip to content

Commit

Permalink
s390/smsgiucv: disable SMSG on module unload
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Martin Schwidefsky committed Apr 16, 2018
1 parent dccccd3 commit 760dd0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/s390/net/smsgiucv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 760dd0e

Please sign in to comment.