Browse Source

[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 <bunk@kernel.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Adrian Bunk 17 years ago
parent
commit
ff86ba59fb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/scsi/lpfc/lpfc_debugfs.c

+ 1 - 1
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);