diff options
author | 2018-07-09 15:22:45 +0100 | |
---|---|---|
committer | 2018-08-02 17:41:38 +0100 | |
commit | d09fbb327d670737ab40fd8bbb0765ae06b8b739 (patch) | |
tree | 4a379d3b12129b5f902337e56834eeeb7eef6b22 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ARM: oabi-compat: copy semops using __copy_from_user() (diff) | |
download | wireguard-linux-d09fbb327d670737ab40fd8bbb0765ae06b8b739.tar.xz wireguard-linux-d09fbb327d670737ab40fd8bbb0765ae06b8b739.zip |
ARM: use __inttype() in get_user()
Borrow the x86 implementation of __inttype() to use in get_user() to
select an integer type suitable to temporarily hold the result value.
This is necessary to avoid propagating the volatile nature of the
result argument, which can cause the following warning:
lib/iov_iter.c:413:5: warning: optimization may eliminate reads and/or writes to register variables [-Wvolatile-register-var]
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions