This is a note to let you know that I've just added the patch titled Subject: USB: remove debugging message for uevent constructions to my gregkh-2.6 tree. Its filename is usb-remove-debugging-message-for-uevent-constructions.patch This tree can be found at http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/ >From stern@xxxxxxxxxxxxxxxxxxx Wed Feb 17 15:32:21 2010 From: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> Date: Mon, 8 Feb 2010 09:45:12 -0500 (EST) Subject: USB: remove debugging message for uevent constructions To: Greg KH <greg@xxxxxxxxx> Cc: USB list <linux-usb@xxxxxxxxxxxxxxx> Message-ID: <Pine.LNX.4.44L0.1002080943460.1809-100000@xxxxxxxxxxxxxxxxxxxx> This patch (as1332) removes an unneeded and annoying debugging message announcing all USB uevent constructions. Signed-off-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> Cc: stable <stable@xxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx> --- drivers/usb/core/driver.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) --- a/drivers/usb/core/driver.c +++ b/drivers/usb/core/driver.c @@ -710,9 +710,6 @@ static int usb_uevent(struct device *dev { struct usb_device *usb_dev; - /* driver is often null here; dev_dbg() would oops */ - pr_debug("usb %s: uevent\n", dev_name(dev)); - if (is_usb_device(dev)) { usb_dev = to_usb_device(dev); } else if (is_usb_interface(dev)) { @@ -724,6 +721,7 @@ static int usb_uevent(struct device *dev } if (usb_dev->devnum < 0) { + /* driver is often null here; dev_dbg() would oops */ pr_debug("usb %s: already deleted?\n", dev_name(dev)); return -ENODEV; } -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html