patch

Duncan Sands duncan.sands at math.u-psud.fr
Fri Jan 28 09:33:26 EST 2005


Hi Roman,

> +	down(&usbatm_driver_list_sem);
> +	list_for_each_entry(driver, &usbatm_driver_list, driver_list)
> +		if (usb_match_id(intf, driver->id_table))
> +			break;
> +	up(&usbatm_driver_list_sem);
> +
>         if (!driver) {

if there's no matching entry, driver is not NULL, it is (more or less)
the list head...  I'll take care of it.

Ciao,

Duncan.



More information about the Usbatm mailing list