Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] spi: aspeed: Fix __iomem annotation and VLA parameter
@ 2026-05-22  7:16 Chin-Ting Kuo
  2026-05-22  7:16 ` [PATCH v2 1/2] spi: aspeed: Fix missing __iomem annotation in output transfer path Chin-Ting Kuo
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Chin-Ting Kuo @ 2026-05-22  7:16 UTC (permalink / raw)
  To: clg, broonie, joel, andrew, linux-aspeed, openbmc, linux-spi,
	linux-arm-kernel, linux-kernel, david.laight.linux, BMC-SW

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-05-22 17:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-22  7:16 [PATCH v2 0/2] spi: aspeed: Fix __iomem annotation and VLA parameter Chin-Ting Kuo
2026-05-22  7:16 ` [PATCH v2 1/2] spi: aspeed: Fix missing __iomem annotation in output transfer path Chin-Ting Kuo
2026-05-22  7:16 ` [PATCH v2 2/2] spi: aspeed: Replace VLA parameter with flat pointer in calibration helper Chin-Ting Kuo
2026-05-22  8:19   ` David Laight
2026-05-22 15:48     ` Chin-Ting Kuo
2026-05-22 11:01 ` [PATCH v2 0/2] spi: aspeed: Fix __iomem annotation and VLA parameter Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox