linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [2.6 patch] scsi/lpfc/lpfc_debugfs.c: fix typo
@ 2007-10-18 10:52 Adrian Bunk
  2007-10-19 12:23 ` James Smart
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2007-10-18 10:52 UTC (permalink / raw)
  To: Mariusz Kozlowski, James Bottomley, james.smart; +Cc: linux-scsi, linux-kernel

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>

---
74e14a2a4ed066aa8fedd557a6768fdfec5eb883 
diff --git a/drivers/scsi/lpfc/lpfc_debugfs.c b/drivers/scsi/lpfc/lpfc_debugfs.c
index 149fdd2..d6a98bc 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);
 


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [2.6 patch] scsi/lpfc/lpfc_debugfs.c: fix typo
  2007-10-18 10:52 [2.6 patch] scsi/lpfc/lpfc_debugfs.c: fix typo Adrian Bunk
@ 2007-10-19 12:23 ` James Smart
  0 siblings, 0 replies; 2+ messages in thread
From: James Smart @ 2007-10-19 12:23 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: Mariusz Kozlowski, James Bottomley, linux-scsi, linux-kernel

ACK

-- james s

Adrian Bunk wrote:
> 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>
> 
> ---
> 74e14a2a4ed066aa8fedd557a6768fdfec5eb883 
> diff --git a/drivers/scsi/lpfc/lpfc_debugfs.c b/drivers/scsi/lpfc/lpfc_debugfs.c
> index 149fdd2..d6a98bc 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);
>  
> 
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-10-19 12:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-18 10:52 [2.6 patch] scsi/lpfc/lpfc_debugfs.c: fix typo Adrian Bunk
2007-10-19 12:23 ` James Smart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).