The patch titled driver core: add missing symlinks error handling has been added to the -mm tree. Its filename is driver-core-add-missing-symlinks-error-handling.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: driver core: add missing symlinks error handling From: "Akinobu Mita" <akinobu.mita@xxxxxxxxx> Signed-off-by: Akinobu Mita <akinobu.mita@xxxxxxxxx> Cc: Greg Kroah-Hartman <gregkh@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/base/core.c | 2 ++ 1 file changed, 2 insertions(+) diff -puN drivers/base/core.c~driver-core-add-missing-symlinks-error-handling drivers/base/core.c --- a/drivers/base/core.c~driver-core-add-missing-symlinks-error-handling +++ a/drivers/base/core.c @@ -665,6 +665,8 @@ int device_add(struct device *dev) GroupError: device_remove_attrs(dev); AttrsError: + device_remove_links(dev, parent); + if (dev->devt_attr) { device_remove_file(dev, dev->devt_attr); kfree(dev->devt_attr); _ Patches currently in -mm which might be from akinobu.mita@xxxxxxxxx are driver-core-cleanup-device-links-code.patch driver-core-add-missing-symlinks-error-handling.patch driver-core-check-sysfs_create_link-errors.patch auth_gss-unregister-gss_domain-when-unloading-module.patch simplify-the-stacktrace-code.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