lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1299691313.15854.267.camel@gandalf.stny.rr.com>
Date:	Wed, 09 Mar 2011 12:21:53 -0500
From:	Steven Rostedt <rostedt@...dmis.org>
To:	Takashi Iwai <tiwai@...e.de>
Cc:	Greg KH <gregkh@...e.de>, Jaroslav Kysela <perex@...ex.cz>,
	LKML <linux-kernel@...r.kernel.org>,
	Andrew Morton <akpm@...ux-foundation.org>,
	alsa-devel@...a-project.org
Subject: Re: [BUG] WARNING: at fs/sysfs/dir.c:455 sysfs_add_one+0x83/0x95

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@...e.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@...dmis.org> (with ktest.pl)
Tested-by: Steven Rostedt <rostedt@...dmis.org> (with ktest.pl)

-- Steve

> 
> Signed-off-by: Takashi Iwai <tiwai@...e.de>
> ---


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ