lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5461ec35-e991-d683-1c9d-c341e277bb15@huawei.com>
Date:   Thu, 26 Dec 2019 14:26:17 +0800
From:   Yuehaibing <yuehaibing@...wei.com>
To:     Pierre-Louis Bossart <pierre-louis.bossart@...ux.intel.com>,
        <lgirdwood@...il.com>, <broonie@...nel.org>, <perex@...ex.cz>,
        <tiwai@...e.de>, <daniel.baluta@....com>, <arnd@...db.de>,
        <tglx@...utronix.de>, <rdunlap@...radead.org>
CC:     <alsa-devel@...a-project.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [alsa-devel] [PATCH] ASoC: SOF: Intel: Fix build error

On 2019/12/3 1:27, Pierre-Louis Bossart wrote:
> 
> 
> On 11/27/19 8:16 AM, YueHaibing wrote:
>> If SND_INTEL_DSP_CONFIG is m and SND_SOC_SOF_PCI is y,
>> building fails:
>>
>> sound/soc/sof/sof-pci-dev.o: In function `sof_pci_probe':
>> sof-pci-dev.c:(.text+0xb4): undefined reference to `snd_intel_dsp_driver_probe'
>>
>> Select SND_INTEL_DSP_CONFIG to fix this.
>>
>> Reported-by: Hulk Robot <hulkci@...wei.com>
>> Fixes: 82d9d54a6c0e ("ALSA: hda: add Intel DSP configuration / probe code")
>> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
>> ---
>>   sound/soc/sof/Kconfig | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/sound/soc/sof/Kconfig b/sound/soc/sof/Kconfig
>> index 71a0fc0..e0b04b5 100644
>> --- a/sound/soc/sof/Kconfig
>> +++ b/sound/soc/sof/Kconfig
>> @@ -14,6 +14,7 @@ config SND_SOC_SOF_PCI
>>       depends on PCI
>>       select SND_SOC_SOF
>>       select SND_SOC_ACPI if ACPI
>> +    select SND_INTEL_DSP_CONFIG
> 
> Thanks for the report. This looks like a valid issue but I don't think the fix is in the right place, we moved all Intel-specific stuff to sound/soc/sof/Intel.
> 
> In addition I don't get how this can happen in the first place, we have
> this statement
> 
> config SND_SOC_SOF_INTEL_PCI
>     def_tristate SND_SOC_SOF_PCI
> 
> Can you share the config that's broken? Thanks!

Sorry for late, the config is attachd.

> 
> .
> 

View attachment "linux-next.config" of type "text/plain" (146057 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ