On Mon, Oct 23, 2006 at 01:53:17PM +0100, Maciej W. Rozycki wrote: > + data = cpu_to_le32(data);
This is rather ugly and not provable by static typechecking. Please always use spearate variables/structs for device and host endian values, and run the resulting driver through sparse to make sure everything is correct. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html