Home
last modified time | relevance | path

Searched hist:c22f9075044057f130f6b73a0638a2eb78f459ad (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/xtensa/include/asm/
H A Duaccess.hdiff c22f9075044057f130f6b73a0638a2eb78f459ad Fri May 22 15:20:05 CDT 2020 Max Filippov <jcmvbkbc@gmail.com> xtensa: fix type conversion in __get_user_size

8-byte access in __get_user_size converts pointer to temporary variable
to the type of original user pointer and then dereferences it, resulting
in the following sparse warning:

sparse: warning: dereference of noderef expression

Instead dereference the original user pointer under the __typeof__ and
add indirection outside.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>