aboutsummaryrefslogtreecommitdiff
path: root/arch/cris/arch-v10
diff options
context:
space:
mode:
authorRussell King2018-07-09 15:22:45 +0100
committerRussell King2018-08-02 17:41:38 +0100
commitd09fbb327d670737ab40fd8bbb0765ae06b8b739 (patch)
tree4a379d3b12129b5f902337e56834eeeb7eef6b22 /arch/cris/arch-v10
parent8c8484a1c18e3231648f5ba7cc5ffb7fd70b3ca4 (diff)
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 'arch/cris/arch-v10')
0 files changed, 0 insertions, 0 deletions