On Tue, Apr 29, 2025 at 5:08 PM Thomas Richard
<[email protected]> 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 <[email protected]>

-- 
With Best Regards,
Andy Shevchenko

Reply via email to