[PATCH v2 0/2] spi: aspeed: Fix __iomem annotation and VLA parameter

From: Chin-Ting Kuo

Date: Fri May 22 2026 - 03:16:28 EST


This series fixes two sparse warnings reported by the kernel test robot.
The first patch fixes missing __iomem annotation on an MMIO pointer
parameter, which also caused a redundant cast at the call site.
A VLA function parameter warning is also fixed in this patch series.

Changes in v2:
- Add parentheses to row-major index for clarity.

Chin-Ting Kuo (2):
spi: aspeed: Fix missing __iomem annotation in output transfer path
spi: aspeed: Replace VLA parameter with flat pointer in calibration
helper

drivers/spi/spi-aspeed-smc.c | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)

--
2.34.1