[PATCH] pcxhr: "fix" PCXHR_REG_TO_PORT definition

Takashi Iwai tiwai at suse.de
Thu Sep 16 11:09:58 CEST 2021


On Tue, 14 Sep 2021 13:08:47 +0200,
Alexey Dobriyan wrote:
> 
> The following preprocessor directive is non-compliant:
> 
> 	#undef PCXHR_REG_TO_PORT(x)
> 
> gcc warns about extra tokens but nobody sees them as they are under if
> branch which is never parsed.
> 
> Make it an #error, it is not clear to me what the author meant.
> 
> Signed-off-by: Alexey Dobriyan <adobriyan at gmail.com>

Thanks, applied.


Takashi


More information about the Alsa-devel mailing list