diff options
author | Yi Sun <yi.sun@intel.com> | 2025-04-04 13:36:14 +0800 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2025-06-27 10:54:25 -0700 |
commit | 0044c5fcae3d2e89ee7d4979a52e1014774d4f92 (patch) | |
tree | 08b57e63d28813240c6ae33f09c52993e5a4803b /scripts/lib/kdoc/kdoc_parser.py | |
parent | ddf16e16346a36ec6616e5282f675f2e3cdc826f (diff) |
dmaengine: idxd: Remove __packed from structures
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.
Signed-off-by: Yi Sun <yi.sun@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Reviewed-by: Fenghua Yu <fenghuay@nvidia.com>
Link: https://lore.kernel.org/r/20250404053614.3096769-1-yi.sun@intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions