- driver-core-fix-duplicate-removal-of-driver-link-in-__device_release_driver.patch removed from -mm tree

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

 



The patch titled
     driver core: fix duplicate removal of driver link in __device_release_driver
has been removed from the -mm tree.  Its filename was
     driver-core-fix-duplicate-removal-of-driver-link-in-__device_release_driver.patch

This patch was dropped because an alternative patch was merged

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: driver core: fix duplicate removal of driver link in __device_release_driver
From: Ming Lei <tom.leiming@xxxxxxxxx>

In __device_release_driver(), driver_sysfs_remove() has removed the driver
link under device dir in sysfs, but sysfs_remove_link() is called again to
do such thing.  Remove the duplicate call to sys_remove_link().

Signed-off-by: Ming Lei <tom.leiming@xxxxxxxxx>
Cc: Kay Sievers <kay.sievers@xxxxxxxx>
Cc: Greg KH <greg@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/base/dd.c |    1 -
 1 file changed, 1 deletion(-)

diff -puN drivers/base/dd.c~driver-core-fix-duplicate-removal-of-driver-link-in-__device_release_driver drivers/base/dd.c
--- a/drivers/base/dd.c~driver-core-fix-duplicate-removal-of-driver-link-in-__device_release_driver
+++ a/drivers/base/dd.c
@@ -298,7 +298,6 @@ static void __device_release_driver(stru
 	drv = dev->driver;
 	if (drv) {
 		driver_sysfs_remove(dev);
-		sysfs_remove_link(&dev->kobj, "driver");
 
 		if (dev->bus)
 			blocking_notifier_call_chain(&dev->bus->p->bus_notifier,
_

Patches currently in -mm which might be from tom.leiming@xxxxxxxxx are

linux-next.patch
driver-core-fix-duplicate-removal-of-driver-link-in-__device_release_driver.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