From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Smart Subject: Re: [2.6 patch] scsi/lpfc/lpfc_debugfs.c: fix typo Date: Fri, 19 Oct 2007 08:23:28 -0400 Message-ID: <4718A1C0.3000501@emulex.com> References: <20071018105237.GL3778@stusta.de> Reply-To: James.Smart@Emulex.Com Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from emulex.emulex.com ([138.239.112.1]:36861 "EHLO emulex.emulex.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751024AbXJSMYE (ORCPT ); Fri, 19 Oct 2007 08:24:04 -0400 In-Reply-To: <20071018105237.GL3778@stusta.de> Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: Adrian Bunk Cc: Mariusz Kozlowski , James Bottomley , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org 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 > > --- > 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); > > >