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

From: Andy Shevchenko

Date: Sat May 09 2026 - 10:56:21 EST


On Thu, May 07, 2026 at 10:11:26PM +0300, Md Shofiqul Islam wrote:
> ADS1298_REG_CHnSET() is missing parentheses around the parameter 'n'.
> Add them to follow kernel macro coding style and prevent potential
> operator precedence issues if the argument is an expression.

This is series of three patches and missed the cover letter which has to
provide the purpose of the series and the changelog (it's v3).

Please, always provide that message. You can use my "smart" script [1]
that helps with that.

[1]: https://github.com/andy-shev/home-bin-tools/blob/master/ge2maintainer.sh

--
With Best Regards,
Andy Shevchenko