linux/drivers/dma/idxd
Yi Sun 0044c5fcae 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>
2025-06-27 10:54:25 -07:00
..
bus.c driver core: have match() callback in struct bus_type take a const * 2024-07-03 15:16:54 +02:00
cdev.c dmaengine updates for v6.16 2025-06-05 08:49:30 -07:00
compat.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
debugfs.c dmaengine: idxd: Convert spinlock to mutex to lock evl workqueue 2024-04-07 13:31:44 +05:30
defaults.c dmaengine: idxd: Add support for device/wq defaults 2023-12-15 17:52:53 +08:00
device.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
dma.c dmaengine: add channel device name to channel registration 2024-06-11 23:55:34 +05:30
idxd.h dmaengine: idxd: Remove unused pointer and macro 2025-05-14 16:00:30 +01:00
init.c dmaengine: idxd: Fix warning for deadcode.deadstore 2025-06-26 15:33:22 -07:00
irq.c dmaengine: idxd: Enable Function Level Reset (FLR) for halt 2024-12-24 16:08:05 +05:30
Makefile module: Convert default symbol namespace to string literal 2024-12-03 08:22:25 -08:00
perfmon.c dmaengine updates for v6.12 2024-09-23 14:08:08 -07:00
perfmon.h dmaengine: idxd: Add IDXD performance monitor support 2021-04-25 21:46:12 +05:30
registers.h dmaengine: idxd: Remove __packed from structures 2025-06-27 10:54:25 -07:00
submit.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
sysfs.c dmaengine: idxd: Narrow the restriction on BATCH to ver. 1 only 2025-05-14 15:29:04 +01:00