lkml.org 
[lkml]   [2018]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 3.18 06/85] s390/smsgiucv: disable SMSG on module unload
    Date
    3.18-stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Martin Schwidefsky <schwidefsky@de.ibm.com>

    [ Upstream commit 760dd0eeaec1689430243ead14e5a429613d8c52 ]

    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>
    Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    ---
    drivers/s390/net/smsgiucv.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/drivers/s390/net/smsgiucv.c
    +++ b/drivers/s390/net/smsgiucv.c
    @@ -190,7 +190,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);

    \
     
     \ /
      Last update: 2018-07-01 20:49    [W:4.023 / U:1.660 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site