Re: [PATCH v3 3/3] iio: ssp_sensors: cleanup codestyle warning

Andy Shevchenko
2026-03-16T14:34:23Z

On Sun, Mar 15, 2026 at 06:25:09PM +0530, Sanjay Chitroda wrote:

> Reported by checkpatch:
> FILE: drivers/iio/common/ssp_sensors/ssp_spi.c
>
> WARNING: Prefer __packed over __attribute__((__packed__))
> +} __attribute__((__packed__));

> CHECK: Macro argument '...' may be better as '(...)'
> to avoid precedence issues

Two problems — two separate changes, please.

--
With Best Regards,
Andy Shevchenko