LKML Archive on
help / color / mirror / Atom feed
From: "Akinobu Mita" <>
To: "Linux Kernel List" <>,
	"Greg KH" <>,
	"Russell King" <>
Subject: [PATCH 2/3] driver core: add missing symlinks error handling
Date: Tue, 27 Feb 2007 23:03:18 +0900	[thread overview]
Message-ID: <> (raw)

Subject: [PATCH 2/3] driver core: add missing symlinks error handling

Signed-off-by: Akinobu Mita <>
Cc: Greg Kroah-Hartman <>

 drivers/base/core.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Index: 2.6-mm/drivers/base/core.c
--- 2.6-mm.orig/drivers/base/core.c
+++ 2.6-mm/drivers/base/core.c
@@ -649,8 +649,10 @@ int device_add(struct device *dev)
 					     BUS_NOTIFY_DEL_DEVICE, dev);
- 	device_remove_attrs(dev);
+	device_remove_attrs(dev);
+	device_remove_links(dev, parent);
 	if (dev->devt_attr) {
 		device_remove_file(dev, dev->devt_attr);

                 reply	other threads:[~2007-02-27 14:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \
    --subject='Re: [PATCH 2/3] driver core: add missing symlinks error handling' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).