lkml.org 
[lkml]   [2018]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4.16 052/279] scsi: megaraid_sas: Do not log an error if FW successfully initializes.
    Date
    4.16-stable review patch.  If anyone has any objections, please let me know.

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

    From: Vinson Lee <vlee@freedesktop.org>

    [ Upstream commit fb1633d56b0025233ed3dc49b44544748d509d9d ]

    Fixes: 2d2c2331673c ("scsi: megaraid_sas: modified few prints in OCR and IOC INIT path")
    Signed-off-by: Vinson Lee <vlee@freedesktop.org>
    Acked-by: Shivasharan S <shivasharan.srikanteshwara@broadcom.com>
    Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
    Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    ---
    drivers/scsi/megaraid/megaraid_sas_fusion.c | 6 +++---
    1 file changed, 3 insertions(+), 3 deletions(-)

    --- a/drivers/scsi/megaraid/megaraid_sas_fusion.c
    +++ b/drivers/scsi/megaraid/megaraid_sas_fusion.c
    @@ -1124,12 +1124,12 @@ megasas_ioc_init_fusion(struct megasas_i
    goto fail_fw_init;
    }

    - ret = 0;
    + return 0;

    fail_fw_init:
    dev_err(&instance->pdev->dev,
    - "Init cmd return status %s for SCSI host %d\n",
    - ret ? "FAILED" : "SUCCESS", instance->host->host_no);
    + "Init cmd return status FAILED for SCSI host %d\n",
    + instance->host->host_no);

    return ret;
    }

    \
     
     \ /
      Last update: 2018-06-18 12:12    [W:4.219 / U:0.036 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site