From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jaswinder Singh Rajput Subject: Re: usr/include/linux/soundcard.h warnings for 'make headers_check' Date: Wed, 04 Feb 2009 17:01:37 +0530 Message-ID: <1233747097.5563.29.camel@localhost.localdomain> References: <1232465902.3088.31.camel@localhost.localdomain> <20090121054138.GA26551@uranus.ravnborg.org> <200902032127.24526.arnd@arndb.de> <1233720252.3595.5.camel@localhost.localdomain> <1233736494.3198.15.camel@localhost.localdomain> <1233743877.5563.7.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Takashi Iwai Cc: Arnd Bergmann , Sam Ravnborg , alsa-devel@alsa-project.org, Ingo Molnar , LKML List-Id: alsa-devel@alsa-project.org On Wed, 2009-02-04 at 11:52 +0100, Takashi Iwai wrote: > At Wed, 04 Feb 2009 16:07:57 +0530, > Jaswinder Singh Rajput wrote: > > > > In kernel space we use USE_SEQ_MACROS in: > > sound/oss/mpu401.c > > sound/oss/midi_synth.c > > > > so we can replace > > #if (!defined(__KERNEL__) && !defined(KERNEL) && !defined(INKERNEL) && !defined(_KERNEL)) || defined(USE_SEQ_MACROS) > > with > > #ifdef USE_SEQ_MACROS > > Then this will break user-space apps. They don't define > USE_SEQ_MACROS always. > If userspace apps are coming through sys/soundcard.h we can define USE_SEQ_MACROS in it OR define USE_SEQ_MACROS in linux/soundcard.h for userspace OR need to redefine better #ifdef Thanks, -- JSR