asm-generic/io.h: suppress endianness warnings for relaxed accessors
authorVladimir Oltean <vladimir.oltean@nxp.com>
Mon, 9 Jan 2023 13:11:53 +0000 (15:11 +0200)
committerArnd Bergmann <arnd@arndb.de>
Tue, 4 Apr 2023 15:58:11 +0000 (17:58 +0200)
commit05d3855b4d21ef3c2df26be1cbba9d2c68915fcb
tree41ec57039ce39677c0f995d2db13cfd8dd895103
parentd564fa1ff19e893e2971d66e5c8f49dc1cdc8ffc
asm-generic/io.h: suppress endianness warnings for relaxed accessors

Copy the forced type casts from the normal MMIO accessors to suppress
the sparse warnings that point out __raw_readl() returns a native endian
word (just like readl()).

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
include/asm-generic/io.h