Re: [PATCH v5 1/5] iio: ssp_sensors: cleanup codestyle warning

From: Andy Shevchenko

Date: Mon Apr 06 2026 - 14:33:54 EST


On Mon, Apr 06, 2026 at 01:38:48PM +0530, Sanjay Chitroda wrote:
> From: Sanjay Chitroda <sanjayembeddedse@xxxxxxxxx>
>
> Reported by checkpatch:
> FILE: drivers/iio/common/ssp_sensors/ssp_spi.c
>
> WARNING: Prefer __packed over __attribute__((__packed__))
> +} __attribute__((__packed__));

Do we need __packed to be there in the first place? Isn't it naturally aligned?

--
With Best Regards,
Andy Shevchenko