aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/hpsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/hpsa.c')
-rw-r--r--drivers/scsi/hpsa.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index 8389ccefd106..add2ed578466 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi/hpsa.c
@@ -1363,9 +1363,8 @@ static int hpsa_scsi_do_report_luns(struct ctlr_info *h, int logical,
1363 dev_err(&h->pdev->dev, "cmd_special_alloc returned NULL!\n"); 1363 dev_err(&h->pdev->dev, "cmd_special_alloc returned NULL!\n");
1364 return -1; 1364 return -1;
1365 } 1365 }
1366 1366 /* address the controller */
1367 memset(&scsi3addr[0], 0, 8); /* address the controller */ 1367 memset(scsi3addr, 0, sizeof(scsi3addr));
1368
1369 fill_cmd(c, logical ? HPSA_REPORT_LOG : HPSA_REPORT_PHYS, h, 1368 fill_cmd(c, logical ? HPSA_REPORT_LOG : HPSA_REPORT_PHYS, h,
1370 buf, bufsize, 0, scsi3addr, TYPE_CMD); 1369 buf, bufsize, 0, scsi3addr, TYPE_CMD);
1371 if (extended_response) 1370 if (extended_response)