lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87msy1fthk.wl-kuninori.morimoto.gx@renesas.com>
Date:   Mon, 4 Sep 2023 22:45:11 +0000
From:   Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>
To:     Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc:     Mark Brown <broonie@...nel.org>, alsa-devel@...a-project.org,
        linux-kernel@...r.kernel.org, Liam Girdwood <lgirdwood@...il.com>,
        Jaroslav Kysela <perex@...ex.cz>, Takashi Iwai <tiwai@...e.com>
Subject: Re: [PATCH v1 1/1] ASoC: soc.h: replace custom COUNT_ARGS() & CONCATENATE() implementations


Hi

> Replace custom implementation of the macros from args.h.
> 
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
(snip)
> -#define SND_SOC_DAILINK_REGx(_1, _2, _3, func, ...) func
>  #define SND_SOC_DAILINK_REG(...) \
> -	SND_SOC_DAILINK_REGx(__VA_ARGS__,		\
> -			SND_SOC_DAILINK_REG3,	\
> -			SND_SOC_DAILINK_REG2,	\
> -			SND_SOC_DAILINK_REG1)(__VA_ARGS__)
> +	CONCATENATE(SND_SOC_DAILINK_REG, COUNT_ARGS(__VA_ARGS__))(__VA_ARGS__)

Interesting nice macro !

Reviewed-by: Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>


Thank you for your help !!

Best regards
---
Kuninori Morimoto

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ