Re: [PATCH -mm] updated idetape gcc 4.1 warning fix

From: Alan Cox
Date: Thu May 11 2006 - 09:00:28 EST


On Mer, 2006-05-10 at 11:10 -0700, Daniel Walker wrote:
> I added returns for failures .. I would hope that this doesn't break anything in
> userspace , but I'll confess that I have no way to determin that for certain .
>
> Hows that Alan?

You still need to walk the BHs I think. Also if an error occurs and some
data is successfully transferred the standards explicitly require you
return the amount of data successfully transferred if you report an
error.

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