public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: "Salyzyn, Mark" <Mark_Salyzyn@adaptec.com>
Cc: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>,
	"tomof@acm.org" <tomof@acm.org>,
	"akpm@linux-foundation.org" <akpm@linux-foundation.org>,
	"torvalds@linux-foundation.org" <torvalds@linux-foundation.org>,
	"jeff@garzik.org" <jeff@garzik.org>,
	"jens.axboe@oracle.com" <jens.axboe@oracle.com>,
	"'linux-scsi@vger.kernel.org'" <linux-scsi@vger.kernel.org>
Subject: Re: [PATCH 1/1] aacraid: pci_set_dma_max_seg_size opened up for late model controllers
Date: Wed, 06 Feb 2008 11:54:57 -0600	[thread overview]
Message-ID: <1202320497.3112.92.camel@localhost.localdomain> (raw)
In-Reply-To: <532ABFBDAAC3A34EB12EBA6CEC2838F439829BBB@ADPE2K703.adaptec.com>

On Wed, 2008-02-06 at 09:00 -0800, Salyzyn, Mark wrote:
> This patch depends on 'RE: [patch 048/265] iommu sg merging: aacraid: use pci_set_dma_max_seg_size' and ensures that the modern adapters get a maximum sg segment size on par with the maximum transfer size. Added some localized janitor fixes to the discussion patch I used with Fujita.
> 
> FUJITA Tomonori [mailto:fujita.tomonori@lab.ntt.co.jp] sez:
> > I think that setting the proper maximum segment size for the late
> > model cards (as you did above) makes sense.
> 
> This attached patch is against current linux-2.6. It will not apply to current scsi-misc-2.6 without the above mentioned dependency.
> 
> ObligatoryDisclaimer: Please accept my condolences regarding Outlook's handling of patch attachments. Please use the attached file to patch
> 
> Signed-off-by: Mark Salyzyn <aacraid@adaptec.com>

OK, I have this, but someone really needs to do a little more checkpatch
love:

jejb@mulgrave> ./scripts/checkpatch.pl ~/tmp.mail
ERROR: use tabs not spaces
#44: FILE: drivers/scsi/aacraid/linit.c:1138:
+ ^I^Ishost->sg_tablesize = 34;$

ERROR: use tabs not spaces
#45: FILE: drivers/scsi/aacraid/linit.c:1139:
+ ^I^Ishost->max_sectors = (shost->sg_tablesize * 8) + 112;$

ERROR: use tabs not spaces
#54: FILE: drivers/scsi/aacraid/linit.c:1144:
+ ^I^Ishost->sg_tablesize = 17;$

ERROR: use tabs not spaces
#55: FILE: drivers/scsi/aacraid/linit.c:1145:
+ ^I^Ishost->max_sectors = (shost->sg_tablesize * 8) + 112;$

ERROR: use tabs not spaces
#60: FILE: drivers/scsi/aacraid/linit.c:1150:
+ ^I^I^I(shost->max_sectors << 9) : 65536);$

total: 5 errors, 0 warnings, 44 lines checked

Your patch has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.

James



  reply	other threads:[~2008-02-06 17:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <532ABFBDAAC3A34EB12EBA6CEC2838F4397D643D@ADPE2K703.adaptec.com>
     [not found] ` <20080205234912B.tomof@acm.org>
     [not found]   ` <532ABFBDAAC3A34EB12EBA6CEC2838F4397D6932@ADPE2K703.adaptec.com>
     [not found]     ` <20080206101148L.fujita.tomonori@lab.ntt.co.jp>
2008-02-06 17:00       ` [PATCH 1/1] aacraid: pci_set_dma_max_seg_size opened up for late model controllers Salyzyn, Mark
2008-02-06 17:54         ` James Bottomley [this message]
2008-02-06 18:08           ` [PATCH 1/1] aacraid: pci_set_dma_max_seg_size opened up for late model controllers (take 2) Salyzyn, Mark
2008-02-06 21:20           ` [PATCH 1/1] aacraid: add optional MSI support Salyzyn, Mark
2008-02-08  0:30             ` James Bottomley
2008-02-08 13:48               ` [PATCH 1/1] aacraid: add optional MSI support (take 2) Salyzyn, Mark
2008-02-08 16:36                 ` [PATCH 1/1] aacraid: ignore adapter reset check polarity Salyzyn, Mark
2008-02-08 17:01                 ` [PATCH 1/1] aacraid: informational sysfs value corrections Salyzyn, Mark

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1202320497.3112.92.camel@localhost.localdomain \
    --to=james.bottomley@hansenpartnership.com \
    --cc=Mark_Salyzyn@adaptec.com \
    --cc=akpm@linux-foundation.org \
    --cc=fujita.tomonori@lab.ntt.co.jp \
    --cc=jeff@garzik.org \
    --cc=jens.axboe@oracle.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=tomof@acm.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox