[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091111165048.17754.12645.stgit@beardog.cce.hp.com>
Date: Wed, 11 Nov 2009 10:50:48 -0600
From: "Stephen M. Cameron" <scameron@...rdog.cce.hp.com>
To: akpm@...ux-foundation.org, James.Bottomley@...senPartnership.com
Cc: linux-kernel@...r.kernel.org, linux-scsi@...r.kernel.org,
scameron@...rdog.cce.hp.com, mikem@...rdog.cce.hp.com
Subject: [PATCH 05/17] hpsa: Allocate the correct amount of extra space for
the scsi host
hpsa: Allocate the correct amount of extra space for the scsi host
Signed-off-by: Stephen M. Cameron <scameron@...rdog.cce.hp.com>
---
drivers/scsi/hpsa.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index e402155..85be09c 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi/hpsa.c
@@ -890,7 +890,7 @@ static int hpsa_scsi_detect(struct ctlr_info *h)
struct Scsi_Host *sh;
int error;
- sh = scsi_host_alloc(&hpsa_driver_template, sizeof(*h));
+ sh = scsi_host_alloc(&hpsa_driver_template, sizeof(h));
if (sh == NULL)
goto fail;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists