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

Miles Chen miles.chen at mediatek.com
Thu Apr 14 01:37:58 PDT 2022


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



More information about the linux-arm-kernel mailing list