Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp551202pxb; Mon, 8 Nov 2021 18:27:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJwgAeXAkMAauvMKzevqlcx4XuOZBYUVucDvcNip5vEcWYrbpYNPecYQubaOkfAt2hzY8Kqq X-Received: by 2002:a05:6e02:1c2d:: with SMTP id m13mr2892306ilh.26.1636424855094; Mon, 08 Nov 2021 18:27:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636424855; cv=none; d=google.com; s=arc-20160816; b=xxdk2+GPBZiZESzuJNTcPupF4ClCqTFud7PTBoq37HMY5J7xm7oToybXDIjJLBYhYB CvAV862uhuHWcOVnyvS4gijkEyA5A0c5xKghP7SzinwuHPRSgHmHjbDxJXT9J5jjvMSc FmG6AjdQQb2dXU15Zh6qzQ3FYriDy4NcpKWOagOUbZh/Pqr2+c7oASmoMdFzHeWRMW5t 6TjEvvFUVJqwbpauquUVebCSd4hj0tGAimyJ3fxnHqV8lTFj4s+20nAIcqBD/zb8gKnT xT1vQkImt89DFOnYksdZQ7TbDzY0fF1ApiodwjzHVkojDPsmXjMHs5q39BkHcaNXEsfa lA4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=v2OL16yrGoSJCsH+U+5cIg2ns4Jxc19kviuMxeInLNU=; b=q24Q6IhQU1Dp9bW89l6SbZyrGqCZO4K71qJOINifGXSxmXVWi3XZiOJv8oJVu4MUdj qYoX6sSpgaj/zjnQeKiqmuORd0uL6KQ6nP/3PDMoSkDJGhMEVByBLFtWfuehHRuwQJDJ tCBAvstWcIt3JZkTokDOpVlZDFrIWZxZ6AXzWSH39YJ6Q9DxBBHIMRMxcTbNeGo66+A6 qvUCBmkSl4qG+Z+VXc1A0qLUMeMn7TMctKEvhPwOtI4D68FuRSlDvnM2xoWueaiPujAF q0a5H4l4KPCsaTNtupit5QHCTpt3n7Y+0T6cRkaomIzMRZS6Qo8OOhZNw5QGzbHTUlj8 XKHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=C4PBHKng; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s8si32541258ilu.48.2021.11.08.18.27.22; Mon, 08 Nov 2021 18:27:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=C4PBHKng; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235050AbhKHSO2 (ORCPT + 99 others); Mon, 8 Nov 2021 13:14:28 -0500 Received: from mail.kernel.org ([198.145.29.99]:41342 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234899AbhKHSOZ (ORCPT ); Mon, 8 Nov 2021 13:14:25 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 268DE61994 for ; Mon, 8 Nov 2021 18:11:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1636395101; bh=4miGct0x2e4uwPTJoDfwUndqCdd3VtKDYZ6yEFuB+us=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=C4PBHKng8edDElM6qpjJtSddGmKofTG8dBANUlp2PpEfJZ1vatNwZDRHtnkfgaVSP QElhHm2JAwUS1PKz+KSV+JAt1s5t5g4x5UbqPJtg4Sk5JgT+FzSKe8WYicPu1G2MVm J86bqx62xfns8vUnetFXqUmE9DsHycSEWBbkgwjlnYWqvU4tQa2vZR06CKUryh6SVm 2SIGrdA/A/vRqCoI3U+lN3hrobtuPBnBcJ+jaNEu9jrUa1Qdw15ufz9kzYrt64sUy2 zRqY9XXy3wF9HxW2giV8PrNcsuhNRBwbGteoKJFmB9NwjQ3l1xlaYc2LmNuFefAN1B e/Gr7Z+JP+3bQ== Received: by mail-wr1-f45.google.com with SMTP id c4so28462392wrd.9 for ; Mon, 08 Nov 2021 10:11:41 -0800 (PST) X-Gm-Message-State: AOAM532si6MkuTPZH+xHGLhlmfa9lX+7Uq5GbuUR93qf2+WWmDKKn/cS g9nuyONBURWDqyScJ1FGYNFFdYAwUCXM9voP/hE= X-Received: by 2002:a05:6000:18c7:: with SMTP id w7mr1242427wrq.411.1636395099591; Mon, 08 Nov 2021 10:11:39 -0800 (PST) MIME-Version: 1.0 References: <20211108111132.3800548-1-arnd@kernel.org> <63c5b1fb-575e-f026-5a76-f08a366f7f38@linux.intel.com> <948c8add-2a31-a7aa-f16c-8629dab690cc@linux.intel.com> In-Reply-To: <948c8add-2a31-a7aa-f16c-8629dab690cc@linux.intel.com> From: Arnd Bergmann Date: Mon, 8 Nov 2021 19:11:23 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [Sound-open-firmware] [PATCH] ASoC: SOF: build compression interface into snd_sof.ko To: Pierre-Louis Bossart Cc: Daniel Baluta , ALSA Development Mailing List , Randy Dunlap , Kai Vehmanen , Arnd Bergmann , Liam Girdwood , Bud Liviu-Alexandru , Takashi Iwai , Ranjani Sridharan , Mark Brown , Paul Olaru , Jaroslav Kysela , Peter Ujfalusi , Linux Kernel Mailing List , sound-open-firmware@alsa-project.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 8, 2021 at 6:18 PM Pierre-Louis Bossart wrote: > On 11/8/21 10:15 AM, Arnd Bergmann wrote: > > On Mon, Nov 8, 2021 at 3:13 PM Daniel Baluta wrote: > > On a related note, with this randconfig we have a separate problem on an > AMD patch on the SOF tree > > ERROR: modpost: "snd_amd_acp_find_config" > [sound/soc/amd/snd-acp-config] is a static EXPORT_SYMBOL > > That wasn't detected earlier, any idea what Kconfig option I need to > enable to filter this out? I don't see that symbol on linux-next at all, so this must be a bug that is specific to the current SOF tree. The message tells you that snd_amd_acp_find_config should not be exported at all since it's static, or it should not be marked static because it is used by other modules. IOW having a symbol that is both static and exported means it's not usable from built-in drivers. Arnd