scsi/lpfc/lpfc_debugfs.c: fix typo
Subsystems (2)
PATCH 1/1 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 <[email protected]>
---74e14a2a4ed066aa8fedd557a6768fdfec5eb883
drivers/scsi/lpfc/lpfc_debugfs.c +1 -1
@@ -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 );
ACK
-- james s
Quoted 23 lines · Adrian Bunk
This patch fixes a typo introduced by
commitbbfbbbc1182f8b44c8cc4c99f4a3f3a512149022.It wasn't a compile error since
CONFIG_LPFC_DEBUG_FSis not (yet?) available as an option.Signed-off-by Adrian Bunk <[email protected]>---
74e14a2a4ed066aa8fedd557a6768fdfec5eb883diff --gita/drivers/scsi/lpfc/lpfc_debugfs.cb/drivers/scsi/lpfc/lpfc_debugfs.cindex 149fdd2..d6a98bc 100644drivers/scsi/lpfc/lpfc_debugfs.c +1
-1@@ -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 );