lkml.org 
[lkml]   [2011]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [BUG] WARNING: at fs/sysfs/dir.c:455 sysfs_add_one+0x83/0x95
At Wed, 09 Mar 2011 12:21:53 -0500,
Steven Rostedt wrote:
>
> On Wed, 2011-03-09 at 17:38 +0100, Takashi Iwai wrote:
>
> > Could you try the patch below? Totally untested.
>
> It seems to work. I added the patch and the warning is gone, and removed
> it, and it reappeared. Now, I don't have and speakers attached to this
> test box, so I never tested if sound works ;)
>
> >
> >
> > Takashi
> >
> > ---
> > From: Takashi Iwai <tiwai@suse.de>
> > Subject: [PATCH] sound: Use sound_register_*() for additional OSS minor devices
> >
> > Since OSS driver creates the device entries for /dev/audio* and
> > /dev/dspW* by itself without coping with sound_core, it leads to
> > conflicts with others and let sysfs spewing warnings.
> >
> > This patch rewrites the registration part of OSS driver to use
> > the standard method also for additional minor devices.
>
> Reported-by: Steven Rostedt <rostedt@goodmis.org> (with ktest.pl)
> Tested-by: Steven Rostedt <rostedt@goodmis.org> (with ktest.pl)

Thanks for a quick check!
I merged the patch now.


Takashi


\
 
 \ /
  Last update: 2011-03-09 20:15    [W:0.040 / U:0.428 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site