From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751301Ab1CITMY (ORCPT ); Wed, 9 Mar 2011 14:12:24 -0500 Received: from cantor2.suse.de ([195.135.220.15]:47378 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751094Ab1CITMW (ORCPT ); Wed, 9 Mar 2011 14:12:22 -0500 Date: Wed, 09 Mar 2011 20:12:18 +0100 Message-ID: From: Takashi Iwai To: Steven Rostedt Cc: Greg KH , Jaroslav Kysela , LKML , Andrew Morton , alsa-devel@alsa-project.org Subject: Re: [BUG] WARNING: at fs/sysfs/dir.c:455 sysfs_add_one+0x83/0x95 In-Reply-To: <1299691313.15854.267.camel@gandalf.stny.rr.com> References: <1299685189.15854.182.camel@gandalf.stny.rr.com> <20110309155309.GA30598@suse.de> <1299687658.15854.227.camel@gandalf.stny.rr.com> <1299691313.15854.267.camel@gandalf.stny.rr.com> User-Agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.7 Emacs/23.2 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > > 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 (with ktest.pl) > Tested-by: Steven Rostedt (with ktest.pl) Thanks for a quick check! I merged the patch now. Takashi