On Thu, Feb 24, Greg KH wrote:

> +++ b/drivers/usb/core/hub.c  2005-02-24 11:15:13 -08:00
> @@ -1102,23 +1102,31 @@
>  }
>  
>  #ifdef DEBUG
> -static void show_string(struct usb_device *udev, char *id, int index)
> +static void show_string(struct usb_device *udev, char *id, char *string)

> +#else
> +static inline void show_string(struct usb_device *udev, char *id, int index)
> +{}
> +#endif

> +     show_string(udev, "Product", udev->product);
> +     show_string(udev, "Manufacturer", udev->manufacturer);
> +     show_string(udev, "SerialNumber", udev->serial);

The non-debug declaration is wrong.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to