Re: [PATCH v2 1/1] kernel.h: Split out COUNT_ARGS() and CONCATENATE() to args.h

From: Steven Rostedt
Date: Fri Jul 14 2023 - 11:03:19 EST


On Fri, 14 Jul 2023 17:22:37 +0300
Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:

> kernel.h is being used as a dump for all kinds of stuff for a long time.
> The COUNT_ARGS() and CONCATENATE() macros may be used in some places
> without need of the full kernel.h dependency train with it.
>
> Here is the attempt on cleaning it up by splitting out these macros().
>
> While at it, include new header where it's being used and drop custom
> implementation of these macros and document how it works.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> ---

Acked-by: Steven Rostedt (Google) <rostedt@xxxxxxxxxxx>

-- Steve