Re: [PATCH v2] dmaengine: idxd: Remove __packed from structures

From: Vinod Koul
Date: Thu Jun 26 2025 - 18:50:24 EST



On Fri, 04 Apr 2025 13:36:14 +0800, Yi Sun wrote:
> The __packed attribute introduces potential unaligned memory accesses
> and endianness portability issues. Instead of relying on compiler-specific
> packing, it's much better to explicitly fill structure gaps using padding
> fields, ensuring natural alignment.
>
> Since all previously __packed structures already enforce proper alignment
> through manual padding, the __packed qualifiers are unnecessary and can be
> safely removed.
>
> [...]

Applied, thanks!

[1/1] dmaengine: idxd: Remove __packed from structures
commit: 671a654aecc710a278bdd30cfd2afef2d4e0828f

Best regards,
--
~Vinod