* Re: + drivers-scsi-use-array_size-macro.patch added to -mm tree
[not found] <200605011717.k41HHagU001787@shell0.pdx.osdl.net>
@ 2006-05-01 17:45 ` Arjan van de Ven
2006-05-01 20:34 ` Tobias Klauser
0 siblings, 1 reply; 3+ messages in thread
From: Arjan van de Ven @ 2006-05-01 17:45 UTC (permalink / raw)
To: linux-kernel; +Cc: tklauser, akpm, linux-scsi
On Mon, 2006-05-01 at 10:15 -0700, akpm@osdl.org wrote:
> diff -puN drivers/scsi/53c700.c~drivers-scsi-use-array_size-macro drivers/scsi/53c700.c
> --- devel/drivers/scsi/53c700.c~drivers-scsi-use-array_size-macro 2006-05-01 10:15:39.000000000 -0700
> +++ devel-akpm/drivers/scsi/53c700.c 2006-05-01 10:15:39.000000000 -0700
> @@ -316,7 +316,7 @@ NCR_700_detect(struct scsi_host_template
> BUG_ON(!dma_is_consistent(pScript) && L1_CACHE_BYTES < dma_get_cache_alignment());
> hostdata->slots = (struct NCR_700_command_slot *)(memory + SLOTS_OFFSET);
> hostdata->dev = dev;
> -
> +
> pSlots = pScript + SLOTS_OFFSET;
>
> /* Fill in the missing routines from the host template */
noise?
> @@ -332,19 +332,18 @@ NCR_700_detect(struct scsi_host_template
> tpnt->slave_destroy = NCR_700_slave_destroy;
> tpnt->change_queue_depth = NCR_700_change_queue_depth;
> tpnt->change_queue_type = NCR_700_change_queue_type;
> -
> +
more noise?
> @@ -385,17 +382,17 @@ NCR_700_detect(struct scsi_host_template
> host->hostdata[0] = (unsigned long)hostdata;
> /* kick the chip */
> NCR_700_writeb(0xff, host, CTEST9_REG);
> - if(hostdata->chip710)
> + if (hostdata->chip710)
while a nice cleanup.. does it fit in this patch?
(many more such things snipped)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: + drivers-scsi-use-array_size-macro.patch added to -mm tree
2006-05-01 17:45 ` + drivers-scsi-use-array_size-macro.patch added to -mm tree Arjan van de Ven
@ 2006-05-01 20:34 ` Tobias Klauser
2006-05-01 21:16 ` James Bottomley
0 siblings, 1 reply; 3+ messages in thread
From: Tobias Klauser @ 2006-05-01 20:34 UTC (permalink / raw)
To: Arjan van de Ven; +Cc: linux-kernel, akpm, linux-scsi
On 2006-05-01 at 19:45:19 +0200, Arjan van de Ven <arjan@infradead.org> wrote:
> On Mon, 2006-05-01 at 10:15 -0700, akpm@osdl.org wrote:
> > diff -puN drivers/scsi/53c700.c~drivers-scsi-use-array_size-macro drivers/scsi/53c700.c
> > --- devel/drivers/scsi/53c700.c~drivers-scsi-use-array_size-macro 2006-05-01 10:15:39.000000000 -0700
> > +++ devel-akpm/drivers/scsi/53c700.c 2006-05-01 10:15:39.000000000 -0700
> > @@ -316,7 +316,7 @@ NCR_700_detect(struct scsi_host_template
> > BUG_ON(!dma_is_consistent(pScript) && L1_CACHE_BYTES < dma_get_cache_alignment());
> > hostdata->slots = (struct NCR_700_command_slot *)(memory + SLOTS_OFFSET);
> > hostdata->dev = dev;
> > -
> > +
> > pSlots = pScript + SLOTS_OFFSET;
> >
> > /* Fill in the missing routines from the host template */
>
> noise?
I usually remove trailing whitespaces which are around the section I'm
patching (I highlight them in my vim). Is that a problem?
> > @@ -332,19 +332,18 @@ NCR_700_detect(struct scsi_host_template
> > tpnt->slave_destroy = NCR_700_slave_destroy;
> > tpnt->change_queue_depth = NCR_700_change_queue_depth;
> > tpnt->change_queue_type = NCR_700_change_queue_type;
> > -
> > +
>
> more noise?
Same here
> > @@ -385,17 +382,17 @@ NCR_700_detect(struct scsi_host_template
> > host->hostdata[0] = (unsigned long)hostdata;
> > /* kick the chip */
> > NCR_700_writeb(0xff, host, CTEST9_REG);
> > - if(hostdata->chip710)
> > + if (hostdata->chip710)
>
> while a nice cleanup.. does it fit in this patch?
>
>
> (many more such things snipped)
I probably should have mentioned the whitespace/coding style cleanups in
the description of the patch. Or should I just leave out these kind of
cleanups?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: + drivers-scsi-use-array_size-macro.patch added to -mm tree
2006-05-01 20:34 ` Tobias Klauser
@ 2006-05-01 21:16 ` James Bottomley
0 siblings, 0 replies; 3+ messages in thread
From: James Bottomley @ 2006-05-01 21:16 UTC (permalink / raw)
To: Tobias Klauser; +Cc: Arjan van de Ven, linux-kernel, akpm, linux-scsi
On Mon, 2006-05-01 at 22:34 +0200, Tobias Klauser wrote:
> I probably should have mentioned the whitespace/coding style cleanups in
> the description of the patch. Or should I just leave out these kind of
> cleanups?
Just mentioning them in the changelog is best; that way no-one's
surprised about the areas the change touches.
Thanks,
James
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-05-01 21:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <200605011717.k41HHagU001787@shell0.pdx.osdl.net>
2006-05-01 17:45 ` + drivers-scsi-use-array_size-macro.patch added to -mm tree Arjan van de Ven
2006-05-01 20:34 ` Tobias Klauser
2006-05-01 21:16 ` James Bottomley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®