On Sun, Feb 24, 2002 at 07:33:18PM -0800, Matthew Dharm wrote:
> Greg et al --
> 
> Attached to this message is a patch for usb-storage against 2.4.18-rc4.
> Please apply.  Greg, it should also be applied to 2.5.x, but I don't have a
> good patch against that version.  So, if you want to try to make it go,
> feel free, but I won't complain if you don't.  Actually, I might complain a
> little bit.. :)

I'll only apply it to the 2.4 tree :)

But I do have one question:

> diff -u -X ../dontdiff drivers/usb/storage.old/usb.h drivers/usb/storage/usb.h
> --- drivers/usb/storage.old/usb.h     Thu Nov 22 11:49:34 2001
> +++ drivers/usb/storage/usb.h Sun Feb 24 18:49:10 2002
> @@ -1,7 +1,7 @@
>  /* Driver for USB Mass Storage compliant devices
>   * Main Header File
>   *
> - * $Id: usb.h,v 1.18 2001/07/30 00:27:59 mdharm Exp $
> + * $Id: usb.h,v 1.19 2002/02/25 00:40:13 mdharm Exp $
>   *
>   * Current development and maintenance by:
>   *   (c) 1999, 2000 Matthew Dharm ([EMAIL PROTECTED])
> @@ -188,4 +188,17 @@
>  /* Function to fill an inquiry response. See usb.c for details */
>  extern void fill_inquiry_response(struct us_data *us,
>       unsigned char *data, unsigned int data_len);
> +
> +/*
> + * This macro is used in datafab.c and jumpshot.c, but not defined in
> + * the 2.4.9 include files anywhere.
> + */
> +#ifndef min_t
> +#define min_t(type, a, b) (min_ ## type (a, b))
> +static inline int min_int(int a, int b)
> +{
> +     return (a < b ? a : b);
> +}
> +#endif
> +
>  #endif

What's this patch for?  It isn't needed by anything else you changed,
and isn't needed for the kernel, as it has a "builtin" min() function
now.

thanks,

greg k-h


_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to