Files
linux/arch/riscv/include/asm
Yunhui Cui 6dc3934152 riscv: io: avoid null-pointer arithmetic in PIO helpers
When port I/O is not supported, exposing the port-string helpers is both
unnecessary and can make clang diagnose null-pointer arithmetic from the
PCI_IOBASE based address expression.  Keep the MMIO string helpers
available as before, but only provide the port I/O variants when
CONFIG_HAS_IOPORT is enabled.

Signed-off-by: Yunhui Cui <cuiyunhui@bytedance.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Link: https://patch.msgid.link/20260703122832.15984-2-cuiyunhui@bytedance.com
Signed-off-by: Paul Walmsley <pjw@kernel.org>
2026-07-13 12:01:49 -06:00
..
2025-01-18 12:33:39 -08:00
2022-03-10 09:29:21 -08:00
2024-06-26 08:02:33 -07:00
2024-09-03 07:18:33 -07:00
2024-05-19 14:36:19 -07:00
2025-09-13 16:55:07 -07:00
2026-01-25 21:09:53 -07:00
2021-01-14 15:09:06 -08:00
2026-04-04 18:42:44 -06:00
2024-03-15 10:17:38 -07:00
2021-01-07 19:00:50 -08:00
2025-03-18 12:59:03 +00:00
2025-09-18 08:20:25 -06:00
2024-09-03 07:18:34 -07:00