Re: [PATCH] libata-sff: fix 32-bit PIO regression

From: Alan Cox
Date: Sun Feb 08 2009 - 15:14:27 EST


On Sun, 8 Feb 2009 23:53:07 +0400
Sergei Shtylyov <sshtylyov@xxxxxxxxxxxxx> wrote:

> one last time when there are exactly 3 trailing bytes. Oh, and stop pointless
> swapping bytes to and fro as well by using io*_rep() which shouldn't byte-swap.

Nice - thats a very sneaky and clean way to do it but probably should be
commented or someone will "optimise" it one day ..
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/