Re: [PATCH v4 1/3] iio: adc: ti-ads1298: Add parentheses around macro parameter

From: Jonathan Cameron

Date: Mon May 11 2026 - 12:32:42 EST


On Sat, 9 May 2026 16:38:09 +0500
Stepan Ionichev <sozdayvek@xxxxxxxxx> wrote:

> The current call sites all pass plain identifiers (chan_index,
> channel, i), so this is a preventive hardening rather than a bug
> fix, but wrapping macro arguments matches the kernel macro style
> recommended by checkpatch and avoids surprises for future callers
> that pass an expression.
>
> Reviewed-by: Stepan Ionichev <sozdayvek@xxxxxxxxx>
>
> Stepan

Picked up this patch.

J