From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CD705C43331 for ; Mon, 30 Mar 2020 19:12:01 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5220C20748 for ; Mon, 30 Mar 2020 19:12:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="mQ6DSMIA" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5220C20748 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id A4AC41614; Mon, 30 Mar 2020 21:11:09 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz A4AC41614 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1585595519; bh=Ww/IM9tdqMp60fwFoAP5ABUl749dK9fB13EOSbsmVrk=; h=Date:From:To:Subject:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=mQ6DSMIAsLGuTdlYqaCWg9Egj02shuZkmI0EoQ5FBlsmrGCw26BYTqk2s5aKHqi3I uHL0meH5sop7/gdUQkJqNCA6CpntMM2SU3jo2z2zCiM9JRRsqxjKjecTZ51XP3yHBo d7HTkUyr9O6bJhEQ6q0wy8OLYVF8LSq1ENcijqTQ= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 1C026F8010C; Mon, 30 Mar 2020 21:11:09 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 63ED2F80148; Mon, 30 Mar 2020 21:11:08 +0200 (CEST) Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 0CAC1F8010C for ; Mon, 30 Mar 2020 21:11:05 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 0CAC1F8010C X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 1026EAC58; Mon, 30 Mar 2020 19:11:04 +0000 (UTC) Date: Mon, 30 Mar 2020 21:11:03 +0200 Message-ID: From: Takashi Iwai To: "Dmitry V. Levin" Subject: Re: [alsa-devel] [PATCH 5/5] ALSA: uapi: Drop asound.h inclusion from asoc.h In-Reply-To: <20200330165311.GA11372@altlinux.org> References: <20191220153415.2740-1-tiwai@suse.de> <20191220153415.2740-6-tiwai@suse.de> <20200330165311.GA11372@altlinux.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (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 Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Mon, 30 Mar 2020 18:53:11 +0200, Dmitry V. Levin wrote: > > Hi, > > On Fri, Dec 20, 2019 at 04:34:15PM +0100, Takashi Iwai wrote: > > The asound.h isn't always available while asoc.h itself is distributed > > in alsa-lib package. So we need to avoid the unnecessary inclusion of > > asound.h from there. > > > > Signed-off-by: Takashi Iwai > > --- > > include/uapi/sound/asoc.h | 1 - > > 1 file changed, 1 deletion(-) > > > > diff --git a/include/uapi/sound/asoc.h b/include/uapi/sound/asoc.h > > index a74ca232f1fc..6048553c119d 100644 > > --- a/include/uapi/sound/asoc.h > > +++ b/include/uapi/sound/asoc.h > > @@ -17,7 +17,6 @@ > > #define __LINUX_UAPI_SND_ASOC_H > > > > #include > > -#include > > > > /* > > * Maximum number of channels topology kcontrol can represent. > > This has reached v5.6 and caused the following regression: > > sound/asoc.h:214:14: error: 'SNDRV_CTL_ELEM_ID_NAME_MAXLEN' undeclared here (not in a function) > 214 | char string[SNDRV_CTL_ELEM_ID_NAME_MAXLEN]; What program caused it? The change was done because it broke (already years log) the old alsa-lib code. So reverting it will break it again. OTOH, alsa-lib breakage could be worked around inside alsa-lib, so likely I'm going to revert it. But I'd like to know exact cases. thanks, Takashi > > Please revert or fix in some way to make the uapi header compileable again. > > Thanks, > > > -- > ldv >