diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2023-01-09 15:11:52 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2023-04-04 17:58:11 +0200 |
commit | d564fa1ff19e893e2971d66e5c8f49dc1cdc8ffc (patch) | |
tree | fb401dbd022d0ffd921b28943c82ce5ce721bbd5 /scripts/gdb/linux/proc.py | |
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/9105d6fc-880b-4734-857d-e3d30b87ccf6@app.fastmail.com/
Suggested-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions