Re: [PATCH -next] sound/oss/dmasound: fix 'dmasound_setup' defined but not used

From: Miles Chen
Date: Thu Apr 14 2022 - 04:38:11 EST


Hi Takashi,

> This must be a side-effect of the recent fix 9dd7c46346ca
> ("sound/oss/dmasound: fix build when drivers are mixed =y/=m").
> Adding Randy to Cc.
>
> IMO, a less uglier way would be to add __maybe_unused to that
> function. But it's a matter of taste.

thanks, I will use __maybe_unused and the fix tag in v2.

Thanks,
Miles

>
>
> thanks,
>
> Takashi