From: Greg KH <greg@kroah.com>
To: John Rose <johnrose@austin.ibm.com>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: Re: [Bug 2013] New: Oops from create_dir (sysfs)
Date: Wed, 4 Feb 2004 12:48:11 -0800 [thread overview]
Message-ID: <20040204204811.GA3992@us.ibm.com> (raw)
In-Reply-To: <1075926442.3026.37.camel@verve>
On Wed, Feb 04, 2004 at 02:27:22PM -0600, John Rose wrote:
> In the last couple of weeks, I've come across this crash a few times.
> In each case, my code was kobject_add()'ing a kobject to a kset that
> already contained a kobject of the same name.
>
> Granted that these additions reflected faulty logic on the part of my
> code, but I was suprised that kobject_add didn't have a more intelligent
> response than crashing while creating the redundant sysfs dir.
>
> Thoughts?
The kobject code quickly pointed out the flaw in your code. Sounds like
the proper response to me :)
thanks,
greg k-h
next prev parent reply other threads:[~2004-02-04 20:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-04 20:27 [Bug 2013] New: Oops from create_dir (sysfs) John Rose
2004-02-04 20:48 ` Greg KH [this message]
2004-02-04 20:54 ` John Rose
2004-02-04 21:22 ` Greg KH
2004-02-04 21:43 ` John Rose
2004-02-04 22:00 ` Greg KH
-- strict thread matches above, loose matches on Subject: below --
2004-02-04 18:55 Martin J. Bligh
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040204204811.GA3992@us.ibm.com \
--to=greg@kroah.com \
--cc=johnrose@austin.ibm.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox