Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932122AbZAUA0I (ORCPT ); Tue, 20 Jan 2009 19:26:08 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757202AbZAUAZx (ORCPT ); Tue, 20 Jan 2009 19:25:53 -0500 Received: from hera.kernel.org ([140.211.167.34]:58410 "EHLO hera.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756875AbZAUAZw (ORCPT ); Tue, 20 Jan 2009 19:25:52 -0500 Subject: Re: usr/include/linux/soundcard.h warnings for 'make headers_check' From: Jaswinder Singh Rajput To: Takashi Iwai Cc: alsa-devel@alsa-project.org, Sam Ravnborg , Ingo Molnar , LKML In-Reply-To: References: <1232465902.3088.31.camel@localhost.localdomain> Content-Type: text/plain Date: Wed, 21 Jan 2009 05:55:28 +0530 Message-Id: <1232497528.3123.32.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.24.2 (2.24.2-3.fc10) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1659 Lines: 38 Hello Sam, On Wed, 2009-01-21 at 01:08 +0100, Takashi Iwai wrote: > At Tue, 20 Jan 2009 21:08:22 +0530, > Jaswinder Singh Rajput wrote: > > > > usr/include/linux/soundcard.h is giving following warnings for 'make headers_check': > > usr/include/linux/soundcard.h:1047: extern's make no sense in userspace > > usr/include/linux/soundcard.h:1048: extern's make no sense in userspace > > usr/include/linux/soundcard.h:1049: extern's make no sense in userspace > > usr/include/linux/soundcard.h:1050: extern's make no sense in userspace > > usr/include/linux/soundcard.h:1051: extern's make no sense in userspace > > usr/include/linux/soundcard.h:1053: extern's make no sense in userspace > > usr/include/linux/soundcard.h:1055: extern's make no sense in userspace > > usr/include/linux/soundcard.h:1056: extern's make no sense in userspace > > usr/include/linux/soundcard.h:1061: extern's make no sense in userspace > > usr/include/linux/soundcard.h:1062: extern's make no sense in userspace > > usr/include/linux/soundcard.h:1078: extern's make no sense in userspace > > usr/include/linux/soundcard.h:1079: extern's make no sense in userspace > > > > Do we need to fix these warnings. > > No, these are declarations for OSS-lib. > It doesn't belong to kernel, but it's better to keep it for > compatibility in some way. > Do you have some plan where extern is required like in this case. -- JSR -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/