> @@ -1796,7 +1796,7 @@
> tmp = tmp->next;
>
> if (td->status & TD_CTRL_ACTIVE) {
> - td->status |= TD_CTRL_IOC;
> + set_bit(TD_CTRL_IOC_BIT, &td->status);
> break;
> }
> }
This is a very bad idea in my book because set_bit sets bits
in an architecture specific way (from MSB or from LSB), and
it is defined to act on longs, while td->status is u32.
Of course, uhci is only used on x86, so all is fine here,
and I would only demand this taken down if it was ohci.
But a bad code all the same, fosters bad habits.
-- Pete
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel