lkml.org 
[lkml]   [2010]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[PATCH 20/30] hpsa: Don't return DID_NO_CONNECT when a device is merely not ready
    From
    Date
    From: Matt Gates <matthew.gates@hp.com>

    hpsa: Don't return DID_NO_CONNECT when a device is merely not ready

    Signed-off-by: Matt Gates <matthew.gates@hp.com>
    Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
    ---
    drivers/scsi/hpsa.c | 1 -
    1 files changed, 0 insertions(+), 1 deletions(-)

    diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
    index d07b3d3..320d686 100644
    --- a/drivers/scsi/hpsa.c
    +++ b/drivers/scsi/hpsa.c
    @@ -1029,7 +1029,6 @@ static void complete_scsi_command(struct CommandList *cp,
    * required
    */
    if ((asc == 0x04) && (ascq == 0x03)) {
    - cmd->result = DID_NO_CONNECT << 16;
    dev_warn(&h->pdev->dev, "cp %p "
    "has check condition: unit "
    "not ready, manual "


    \
     
     \ /
      Last update: 2010-02-04 15:43    [W:0.020 / U:150.804 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site