From: Al Viro <viro@ZenIV.linux.org.uk>
To: Thomas Meyer <thomas@m3y3r.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: linux-next: WARNING: at fs/sysfs/dir.c:425 sysfs_add_one+0x31/0x7a()
Date: Sun, 30 Nov 2008 12:39:24 +0000 [thread overview]
Message-ID: <20081130123924.GW28946@ZenIV.linux.org.uk> (raw)
In-Reply-To: <1210366580.4148.4.camel@dhcppc1>
On Fri, May 09, 2008 at 10:56:20PM +0200, Thomas Meyer wrote:
> I get this warning while setting up a packet dvd mapping with:
>
> # pktsetup pktcdvd0 /dev/sr0
[snip]
That ought to fix it:
diff --git a/drivers/block/pktcdvd.c b/drivers/block/pktcdvd.c
index f20bf35..79981f2 100644
--- a/drivers/block/pktcdvd.c
+++ b/drivers/block/pktcdvd.c
@@ -417,6 +417,7 @@ static int pkt_sysfs_init(void)
printk(DRIVER_NAME": failed to create class pktcdvd\n");
return ret;
}
+ class_pktcdvd->dev_kobj = NULL;
return 0;
}
prev parent reply other threads:[~2008-11-30 12:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-09 20:56 linux-next: WARNING: at fs/sysfs/dir.c:425 sysfs_add_one+0x31/0x7a() Thomas Meyer
2008-11-30 12:39 ` Al Viro [this message]
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=20081130123924.GW28946@ZenIV.linux.org.uk \
--to=viro@zeniv.linux.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=thomas@m3y3r.de \
/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