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

Jonathan Cameron
2026-03-15T18:55:42Z

On Sun, 15 Mar 2026 18:25:09 +0530
Sanjay Chitroda <sanjayembeddedse@gmail.com> wrote:

> From: Sanjay Chitroda <sanjayembeddedse@gmail.com>
>
> 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
>
> Signed-off-by: Sanjay Chitroda <sanjayembeddedse@gmail.com>
This looks fine to me.

Jonathan