On Tue, Apr 29, 2025 at 5:08 PM Thomas Richard
<thomas.richard@bootlin.com> wrote:
>
> Add str_input_output() helper to return 'input' or 'output' string literal.
> Also add the inversed variant str_output_input().
...
> +static inline const char *str_input_output(bool v)
> +{
> + return v ? "input" : "output";
> +}
> +#define str_output_input str_input_output(!(v))
Missing argument in the definition of a new macro.
With that being addressed,
Reviewed-by: Andy Shevchenko <andy@kernel.org>
--
With Best Regards,
Andy Shevchenko