[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <s5ha6cm4xy2.wl-tiwai@suse.de>
Date: Fri, 15 Apr 2022 09:17:57 +0200
From: Takashi Iwai <tiwai@...e.de>
To: Miles Chen <miles.chen@...iatek.com>
Cc: Jaroslav Kysela <perex@...ex.cz>, Takashi Iwai <tiwai@...e.com>,
Matthias Brugger <matthias.bgg@...il.com>,
Randy Dunlap <rdunlap@...radead.org>,
<alsa-devel@...a-project.org>, <linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-mediatek@...ts.infradead.org>
Subject: Re: [PATCH -next V2] sound/oss/dmasound: fix 'dmasound_setup' defined but not used
On Thu, 14 Apr 2022 11:19:38 +0200,
Miles Chen wrote:
>
> We observed: 'dmasound_setup' defined but not used error with
> COMPILER=gcc ARCH=m68k DEFCONFIG=allmodconfig build.
>
> Fix it by adding __maybe_unused to dmasound_setup.
>
> Error(s):
> sound/oss/dmasound/dmasound_core.c:1431:12: error: 'dmasound_setup' defined but not used [-Werror=unused-function]
>
> Fixes: 9dd7c46346ca ("sound/oss/dmasound: fix build when drivers are mixed =y/=m")
> Signed-off-by: Miles Chen <miles.chen@...iatek.com>
> Cc: Takashi Iwai <tiwai@...e.com>
Thanks, applied.
Takashi
Powered by blists - more mailing lists