[SCSI] lpfc: lpfc_debugfs.c: fix typo
authorAdrian Bunk <bunk@kernel.org>
Thu, 18 Oct 2007 10:52:37 +0000 (12:52 +0200)
committerJames Bottomley <jejb@mulgrave.localdomain>
Thu, 18 Oct 2007 12:27:30 +0000 (08:27 -0400)
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 <bunk@kernel.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/lpfc/lpfc_debugfs.c

index 149fdd25f8e83d982c1db15f6d103798a6e1b1c8..d6a98bc970ff7f81100f8cc112b7ae375d93e410 100644 (file)
@@ -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);