mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: [patch 07/16] ide-disk: Fix LBA8 DMA
@ 2005-05-25  9:12 Chuck Ebbert
  2005-05-25 13:29 ` Chris Wright
  0 siblings, 1 reply; 4+ messages in thread
From: Chuck Ebbert @ 2005-05-25  9:12 UTC (permalink / raw)
  To: Chuck Ebbert
  Cc: Chris Wright, linux-kernel, linux-stable, Justin Forbes,
	Zwane Mwaikambo, Theodore Ts'o, Randy Dunlap, Chuck Wolber,
	Linus Torvalds, Andrew Morton, Alan Cox,
	Bartlomiej Zolnierkiewicz, Daniel Drake

On Wed, 25 May 2005 at 03:57:14 -0400, Chuck Ebbert wrote:

> On Mon, 23 May 2005 at 16:24:14 -0700, Chris Wright wrote:
> 
> > --- linux-2.6.11.10.orig/drivers/ide/ide-disk.c       2005-05-16 10:50:31.000000000 -0700
> > +++ linux-2.6.11.10/drivers/ide/ide-disk.c    2005-05-20 09:36:31.933319224 -0700
> > @@ -133,6 +133,8 @@
> >       if (hwif->no_lba48_dma && lba48 && dma) {
> >               if (block + rq->nr_sectors > 1ULL << 28)
> 
>                                            ^
> 
>   Maybe I'm an idiot, but shouldn't that be ">="?  Either that or it should be
> comparing to (1ULL < 28 - 1)?


  Oops, I forgot this was in my outbox and sent it before review.  This code
is fine... (block + rq->nr_sectors) is one past the actual end of the read.


> >                       dma = 0;
> > +               else
> > +                       lba48 = 0;
> 
>    ^^^^^^^^^^^^^^^^^^^^^^^
> 
>   Spaces instead of tabs?

  But the patch really does seem to be tabdamaged...




--
Chuck

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: [patch 07/16] ide-disk: Fix LBA8 DMA
@ 2005-05-25  7:57 Chuck Ebbert
  0 siblings, 0 replies; 4+ messages in thread
From: Chuck Ebbert @ 2005-05-25  7:57 UTC (permalink / raw)
  To: Chris Wright
  Cc: linux-kernel, linux-stable, Justin Forbes, Zwane Mwaikambo,
	Theodore Ts'o, Randy Dunlap, Chuck Wolber, Linus Torvalds,
	Andrew Morton, Alan Cox, Bartlomiej Zolnierkiewicz, Daniel Drake

On Mon, 23 May 2005 at 16:24:14 -0700, Chris Wright wrote:

> --- linux-2.6.11.10.orig/drivers/ide/ide-disk.c       2005-05-16 10:50:31.000000000 -0700
> +++ linux-2.6.11.10/drivers/ide/ide-disk.c    2005-05-20 09:36:31.933319224 -0700
> @@ -133,6 +133,8 @@
>       if (hwif->no_lba48_dma && lba48 && dma) {
>               if (block + rq->nr_sectors > 1ULL << 28)

                                           ^

  Maybe I'm an idiot, but shouldn't that be ">="?  Either that or it should be
comparing to (1ULL < 28 - 1)?

>                       dma = 0;
> +               else
> +                       lba48 = 0;

   ^^^^^^^^^^^^^^^^^^^^^^^

  Spaces instead of tabs?

>       }
>  
>       if (!dma) {


--
Chuck

^ permalink raw reply	[flat|nested] 4+ messages in thread
* [00/16] -stable review
@ 2005-05-23 23:15 Chris Wright
  2005-05-23 23:24 ` [patch 07/16] ide-disk: Fix LBA8 DMA Chris Wright
  0 siblings, 1 reply; 4+ messages in thread
From: Chris Wright @ 2005-05-23 23:15 UTC (permalink / raw)
  To: linux-kernel, stable
  Cc: Justin Forbes, zwane mwaikambo, theodore ts'o, randy.dunlap,
	chuck wolber, torvalds, akpm, alan

This is the start of the stable review cycle for the 2.6.11.11 release.  There
are 16 patches in this series, all will be posted as a response to this one.
If anyone has any issues with these being applied, please let us know.  If
anyone is a maintainer of the proper subsystem, and wants to add a
signed-off-by: line to the patch, please respond with it.

These patches are sent out with a number of different people on the Cc: line.
If you wish to be a reviewer, please email stable@kernel.org to add your name to
the list.  If you want to be off the reviewer list, also email us.

Responses should be made by Wed, May 25, 23:00 UTC.  Anything received after
that time, might be too late.

thanks,

the -stable release team (i.e. the ones wearing the joker hat in the corner...)

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

end of thread, other threads:[~2005-05-25 13:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-25  9:12 [patch 07/16] ide-disk: Fix LBA8 DMA Chuck Ebbert
2005-05-25 13:29 ` Chris Wright
  -- strict thread matches above, loose matches on Subject: below --
2005-05-25  7:57 Chuck Ebbert
2005-05-23 23:15 [00/16] -stable review Chris Wright
2005-05-23 23:24 ` [patch 07/16] ide-disk: Fix LBA8 DMA Chris Wright

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®