Re: [PATCH] usb-serial: fix regression in Visor/Palm OS module for kernels >= 2.6.24

From: Oliver Neukum
Date: Thu Mar 27 2008 - 04:56:50 EST


Am Donnerstag, 27. März 2008 06:07:26 schrieb Brad Sawatzky:
> FWIW, another option I considered was patching the test added in commit
> 063a2da8f01806906f7d7b1a1424b9afddebc443 to use '<=' instead of '!=' in the
> obvious places.  That is, test if the usb-serial subsystem reports at least
> as many endpoints as the device definition "requires" rather than checking

The problem with that is that if a device adds an endpoint we may use
the wrong endpoints in drivers, depending on how the endpoints in devices
are numbered. As we have no idea what the consequences would be, we rather
fail cleanly.

Regards
Oliver


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