Re: ata_sff_data_xfer* return value

From: Alan Cox
Date: Sun Nov 08 2009 - 15:01:10 EST


On Sun, 08 Nov 2009 20:27:02 +0100
Krzysztof Halasa <khc@xxxxxxxxx> wrote:

> Hi,
>
> I wonder if this is entirely correct? If so, why?

It is correct. We return the bytes consumed as it may well not be the
same as the total bytes requested. In practice we don't currently do a
great deal with it even with ATAPI but it's useful for doing bug checks.

--
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/