Re: [PATCH] staging: gpib: enclose macro values in parentheses

From: Dan Carpenter

Date: Fri Sep 19 2025 - 04:01:33 EST


On Fri, Sep 19, 2025 at 12:33:48PM +0530, Soumya Ranjan Patnaik wrote:
> Macros with complex values should be enclosed in parentheses to avoid
> unexpected behavior due to operator precedence or macro expansion issues.
> This change wraps the LINVAL macro values in parentheses to comply with
> kernel coding style and improve code safety.
>
> Signed-off-by: Soumya Ranjan Patnaik <soumyaranjan1812@xxxxxxxxx>

That's going to break the build.

https://lore.kernel.org/all/?q=LINVAL

regards,
dan carpenter