[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.44L0.1108091159050.1949-100000@iolanthe.rowland.org>
Date: Tue, 9 Aug 2011 12:00:28 -0400 (EDT)
From: Alan Stern <stern@...land.harvard.edu>
To: Paul Bolle <pebolle@...cali.nl>
cc: Marcel Holtmann <marcel@...tmann.org>,
"Gustavo F. Padovan" <padovan@...fusion.mobi>,
Greg Kroah-Hartman <gregkh@...e.de>,
<linux-bluetooth@...r.kernel.org>, <linux-usb@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] [RFC] BTUSB: be quiet on device disconnect
On Tue, 9 Aug 2011, Paul Bolle wrote:
> 1) I added Greg and linux-usb@...r.kernel.org because usb_submit_urb()
> doesn't specify the meaning of its negative return values. I traced
In fact, many of these values are documented in
Documentation/usb/error-codes.txt.
> -EPERM to usb_hcd_link_urb_to_ep(). That returns -EPERM if the urb is
> "being killed". Did I trace the calls made by usb_submit_urb()
> correctly? I also just assumed that -ENODEV always means device got
> disconnected or something comparable. Is that correct too?
Yes, those are both correct.
Alan Stern
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists