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=-5.6 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no 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 A17A7C433E6 for ; Fri, 5 Feb 2021 15:48:46 +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 17AD46509E for ; Fri, 5 Feb 2021 15:48:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 17AD46509E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com 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 D9F56165E; Fri, 5 Feb 2021 16:47:52 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz D9F56165E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1612540123; bh=mffGps49avdBiy8KqZrNM5vye3EXYg6yptP/wMUEAOM=; h=Subject:To:References:From:Date:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=RM7ioYsLiX5ePFFoLV53/2uCUeFDe4RinSPw/Po9dGrCux5TXxDhHLabbOJYFtuRY 1QnH246mRkqMZ3LSlt64aIYK3ShRTh7Q+mKLUa6Xzk26Jc1omOhw+3aG0LeYpL1nRt La0unWka8aahdw5SbgfMIG0a52FqW+ndjq9QxgG8= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 62A38F80152; Fri, 5 Feb 2021 16:47:52 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id E3712F8015A; Fri, 5 Feb 2021 16:47:50 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id E1DB6F800C0 for ; Fri, 5 Feb 2021 16:47:45 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz E1DB6F800C0 IronPort-SDR: Dxn+ZJ1vm4rzojOv/t5tbWVno6+ipHWLFpbkQedU3/is2NpqHwkGNA+okt5cj/w9qsldEavOcG YhtfeQ+3seJQ== X-IronPort-AV: E=McAfee;i="6000,8403,9885"; a="181596194" X-IronPort-AV: E=Sophos;i="5.81,155,1610438400"; d="scan'208";a="181596194" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Feb 2021 07:47:41 -0800 IronPort-SDR: uVGFPbqOJcsv2httPANMUiprMD336Zxdd4KGySfPoZoEKgl++3c63PLx1R4jZsEfpjW3mHuQKJ wDhvGEMFopJw== X-IronPort-AV: E=Sophos;i="5.81,155,1610438400"; d="scan'208";a="393913262" Received: from gjcomber-mobl.amr.corp.intel.com (HELO [10.255.228.165]) ([10.255.228.165]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Feb 2021 07:47:40 -0800 Subject: Re: [PATCH 14/14] ASoC: SOF: Intel: hda: add dev_dbg() when DMIC number is overridden To: Mark Brown References: <20210204203312.27112-1-pierre-louis.bossart@linux.intel.com> <20210204203312.27112-15-pierre-louis.bossart@linux.intel.com> <20210205153336.GE4720@sirena.org.uk> From: Pierre-Louis Bossart Message-ID: Date: Fri, 5 Feb 2021 09:47:39 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210205153336.GE4720@sirena.org.uk> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Cc: Guennadi Liakhovetski , alsa-devel@alsa-project.org, Kai Vehmanen , Guennadi Liakhovetski , tiwai@suse.de, vkoul@kernel.org, Bard liao , Rander Wang 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 2/5/21 9:33 AM, Mark Brown wrote: > On Thu, Feb 04, 2021 at 02:33:12PM -0600, Pierre-Louis Bossart wrote: > >> /* allow for module parameter override */ >> - if (hda_dmic_num != -1) >> + if (hda_dmic_num != -1) { > > This is breaking in an x86 allmodconfig build due to: > > /mnt/kernel/sound/soc/sof/intel/hda.c: In function 'dmic_topology_fixup': > /mnt/kernel/sound/soc/sof/intel/hda.c:615:6: error: 'hda_dmic_num' undeclared (first use in this function); did you mean 'dmic_num'? > if (hda_dmic_num != -1) { > ^~~~~~~~~~~~ > dmic_num > /mnt/kernel/sound/soc/sof/intel/hda.c:615:6: note: each undeclared identifier is reported only once for each function it appears in > > which will actually be triggered by one of the earlier patches in the > series (my script is going through things in reverse order), that > variable is only defined for CONFIG_SOC_SOF_HDA. That's not good. Please drop this patch for now, it's nice-to-have and not critical. I'll have to figure out why this wasn't reported earlier.