- correct static checker issue in patch
  hpsa-correct-device-resets that is pending in
  Martin Peterson's 5.3/scsi-queue.

  The patch can be found here:
  https://www.spinics.net/lists/linux-scsi/msg130245.html

- Any chance this can be squashed into
  hpsa-correct-device-resets

Reviewed-by: Dave Carroll <david.carr...@microsemi.com>
Reviewed-by: Scott Teel <scott.t...@microsemi.com>
Signed-off-by: Don Brace <don.br...@microsemi.com>
---
 drivers/scsi/hpsa.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index 2db226a6931c..2b4b4f4ff9dc 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi/hpsa.c
@@ -5956,7 +5956,7 @@ static int hpsa_eh_device_reset_handler(struct scsi_cmnd 
*scsicmd)
        int rc = SUCCESS;
        int i;
        struct ctlr_info *h;
-       struct hpsa_scsi_dev_t *dev;
+       struct hpsa_scsi_dev_t *dev = NULL;
        u8 reset_type;
        char msg[48];
        unsigned long flags;

Reply via email to