diff options
author | Vladimir Oltean <[email protected]> | 2023-01-09 15:11:52 +0200 |
---|---|---|
committer | Arnd Bergmann <[email protected]> | 2023-04-04 17:58:11 +0200 |
commit | d564fa1ff19e893e2971d66e5c8f49dc1cdc8ffc (patch) | |
tree | fb401dbd022d0ffd921b28943c82ce5ce721bbd5 /net/unix/af_unix.c | |
parent | fe15c26ee26efa11741a7b632e9f23b01aca4cc6 (diff) |
asm-generic/io.h: suppress endianness warnings for readq() and writeq()
Commit c1d55d50139b ("asm-generic/io.h: Fix sparse warnings on
big-endian architectures") missed fixing the 64-bit accessors.
Arnd explains in the attached link why the casts are necessary, even if
__raw_readq() and __raw_writeq() do not take endian-specific types.
Link: https://lore.kernel.org/lkml/[email protected]/
Suggested-by: Arnd Bergmann <[email protected]>
Signed-off-by: Vladimir Oltean <[email protected]>
Reviewed-by: Jonathan Cameron <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions