From: Adrian Bunk Date: Thu, 18 Oct 2007 10:52:37 +0000 (+0200) Subject: [SCSI] lpfc: lpfc_debugfs.c: fix typo X-Git-Tag: v2.6.24-rc1~19^2~33 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=ff86ba59fbf6f0fd56b367b99b66dc8fb8ad61e7;p=linux-2.6-omap-h63xx.git [SCSI] lpfc: lpfc_debugfs.c: fix typo This patch fixes a typo introduced by commit bbfbbbc1182f8b44c8cc4c99f4a3f3a512149022. It wasn't a compile error since CONFIG_LPFC_DEBUG_FS is not (yet?) available as an option. Signed-off-by: Adrian Bunk Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/lpfc/lpfc_debugfs.c b/drivers/scsi/lpfc/lpfc_debugfs.c index 149fdd25f8e..d6a98bc970f 100644 --- a/drivers/scsi/lpfc/lpfc_debugfs.c +++ b/drivers/scsi/lpfc/lpfc_debugfs.c @@ -901,7 +901,7 @@ lpfc_debugfs_initialize(struct lpfc_vport *vport) } } - vport->disc_trc = kmzlloc( + vport->disc_trc = kzalloc( (sizeof(struct lpfc_debugfs_trc) * lpfc_debugfs_max_disc_trc), GFP_KERNEL);