Re: [linux-usb-devel] [PATCH] usb_string fix

From: Greg KH (
Date: Mon Aug 05 2002 - 17:36:20 EST

On Mon, Aug 05, 2002 at 11:42:09PM +0200, wrote:
> [I thought I sent this yesterday night, but don't see it on l-k,
> maybe I forgot. Sorry if I send it twice.]
> Things are indeed as conjectured, and I can reproduce the situation
> where usb_string() returns -EPIPE. Now that this is an internal
> error code for the USB subsystem, and not meant to get out to the
> user, I made these driverfs files empty in case of error.
> (While if there is no error but the string has length 0,
> the file will consist of a single '\n'.)
> One fewer random memory corruption. Unfortunately, there are more.

Thanks for the fix, I've applied it to my trees.

greg k-h
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:29 EST