[PATCH 04/15] cmdline: use GCC and MSVC common VA ARGS extension

Bruce Richardson bruce.richardson at intel.com
Tue Feb 13 10:04:05 CET 2024


On Mon, Feb 12, 2024 at 01:49:06PM -0800, Tyler Retzlaff wrote:
> Use ... and forward with __VA_ARGS__ instead of args... and args.
> Neither mechanism is conformant with the standard but the former works
> with both GCC and MSVC.
> 
> Fix checkpatches warning about style while(0) -> while (0)
> 
> Signed-off-by: Tyler Retzlaff <roretzla at linux.microsoft.com>
> ---
Reviewed-by: Bruce Richardson <bruce.richardson at intel.com>


More information about the dev mailing list