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

Chin-Ting Kuo chin-ting_kuo at aspeedtech.com
Mon May 18 02:57:06 PDT 2026


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.

Chin-Ting Kuo (2):
  spi: aspeed: Fix missing __iomem annotation in output transfer path
  spi: aspeed: Fix sparse warnings for VLA parameter in calibration
    helper

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

-- 
2.34.1




More information about the linux-arm-kernel mailing list