- usbcore-fix-bug-in-usb_uevent.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     usbcore: fix bug in usb_uevent

has been removed from the -mm tree.  Its filename is

     usbcore-fix-bug-in-usb_uevent.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: usbcore: fix bug in usb_uevent
From: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>

Somehow in all the confusion over that long series of patches last weekend,
a few lines of code failed to be removed in usb_uevent().  This bug causes
a nasty hang during bootup as soon as a USB host controller is probed.

This patch (as744) removes the excess code.

Signed-off-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>
Cc: Greg KH <greg@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/usb/core/driver.c |    4 ----
 1 file changed, 4 deletions(-)

diff -puN drivers/usb/core/driver.c~usbcore-fix-bug-in-usb_uevent drivers/usb/core/driver.c
--- a/drivers/usb/core/driver.c~usbcore-fix-bug-in-usb_uevent
+++ a/drivers/usb/core/driver.c
@@ -543,10 +543,6 @@ static int usb_uevent(struct device *dev
 		alt = intf->cur_altsetting;
 	}
 
-	intf = to_usb_interface(dev);
-	usb_dev = interface_to_usbdev (intf);
-	alt = intf->cur_altsetting;
-
 	if (usb_dev->devnum < 0) {
 		pr_debug ("usb %s: already deleted?\n", dev->bus_id);
 		return -ENODEV;
_

Patches currently in -mm which might be from stern@xxxxxxxxxxxxxxxxxxx are

origin.patch
e100-disable-interrupts-at-boot.patch
properly-unregister-reboot-notifier-in-case-of-failure-in-ehci-hcd.patch
block-layer-early-detection-of-medium-not-present.patch
scsi-core-and-sd-early-detection-of-medium-not-present.patch
sd-early-detection-of-medium-not-present.patch
remove-kernel-kthreadckthread_stop_sem.patch
task-watchers-task-watchers.patch
task-watchers-add-support-for-per-task-watchers.patch
add-srcu-based-notifier-chains.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux