public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* RE: [PATCH 1/3] mpt fusion: Request I/O resources only whenrequired
@ 2008-02-09 17:26 Prakash, Sathya
  2008-02-09 17:34 ` James Bottomley
  0 siblings, 1 reply; 2+ messages in thread
From: Prakash, Sathya @ 2008-02-09 17:26 UTC (permalink / raw)
  To: James Bottomley; +Cc: linux-scsi, Moore, Eric

Thanks James for pointing the missing of checkpatch.pl check. I will do
it before submitting the future patches.
 

-----Original Message-----
From: James Bottomley [mailto:James.Bottomley@HansenPartnership.com] 
Sent: Friday, February 08, 2008 10:54 PM
To: Prakash, Sathya
Cc: linux-scsi@vger.kernel.org; Moore, Eric
Subject: Re: [PATCH 1/3] mpt fusion: Request I/O resources only
whenrequired


On Fri, 2008-02-08 at 22:05 +0530, Prakash, Sathya wrote:
> This patch modifies the I/O resource allocation behavior of FUSION
driver. 
> The current version of driver allocates the I/O resources even if they
are not required and this creates trouble in low resource environments.
> This driver now uses pci_enable_device_mem/pci_enable_device functions
to differentiate the resource allocations.
> 
> signed-off-by: Sathya Prakash <sathya.prakash@lsi.com>
  ^
Capital 'S'

The patch could also have done with a bit of checkpatch.pl love:

WARNING: Signed-off-by: is the preferred form
#58: 
signed-off-by: Sathya Prakash <sathya.prakash@lsi.com>

ERROR: need space after that ',' (ctx:VxV)
#83: FILE: drivers/message/fusion/mptbase.c:1486:
+                   "failed\n",ioc->name);
                              ^

ERROR: use tabs not spaces
#84: FILE: drivers/message/fusion/mptbase.c:1487:
+ ^I^Ireturn r;$

ERROR: need space after that ',' (ctx:VxV)
#89: FILE: drivers/message/fusion/mptbase.c:1492:
+                   "MEM failed\n",ioc->name);
                                  ^

ERROR: trailing whitespace
#123: FILE: drivers/message/fusion/mptbase.c:1833:
+^I^I^Ireturn 0; $

WARNING: line over 80 characters
#179: FILE: drivers/message/fusion/mptbase.h:632:
+       int                     bars;   /* bitmask of BAR's that must be
configured */

total: 4 errors, 2 warnings, 105 lines checked

YJames


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

end of thread, other threads:[~2008-02-09 17:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-09 17:26 [PATCH 1/3] mpt fusion: Request I/O resources only whenrequired Prakash, Sathya
2008-02-09 17:34 ` James Bottomley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox