On Mon, 21 Dec 2009, Mike Frysinger wrote: > > How about using put_unaligned_le32() instead? Â Then the casts wouldn't > > be needed. > > i guess it takes care of the cpu_to_le32 too so we'd only have to do: > put_unaligned_le32(0, buf); > put_unaligned_le32(sl811->port1, buf); Right. Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html