[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220422025312.7718-1-miles.chen@mediatek.com>
Date: Fri, 22 Apr 2022 10:53:12 +0800
From: Miles Chen <miles.chen@...iatek.com>
To: <tiwai@...e.de>
CC: <alsa-devel@...a-project.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>,
<linux-mediatek@...ts.infradead.org>, <matthias.bgg@...il.com>,
<miles.chen@...iatek.com>, <perex@...ex.cz>,
<rdunlap@...radead.org>, <tiwai@...e.com>
Subject: Re: [PATCH -next V2] sound/oss/dmasound: fix 'dmasound_setup' defined but not used
Hi Taksshi,
>> 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.
This patch is needed in 5.18-rc3 [1] too, should I submit another patch or
you can pick it to the mainstream?
[1] https://lore.kernel.org/lkml/alpine.DEB.2.22.394.2204190925230.302265@ramsan.of.borg/
thanks,
Miles
>
>
>Takashi
Powered by blists - more mailing lists