Home
last modified time | relevance | path

Searched hist:"9 afcc71b4f85ee9c9604c9b8349bac0eed44aa63" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/xtensa/include/asm/
H A Duaccess.hdiff 9afcc71b4f85ee9c9604c9b8349bac0eed44aa63 Fri May 22 17:52:03 CDT 2020 Max Filippov <jcmvbkbc@gmail.com> xtensa: fix error paths in __get_user_{check,size}

Error paths in __get_user_check and __get_user_size directly assing 0 to
the result. It causes the following sparse warnings:

sparse: warning: Using plain integer as NULL pointer

Convert 0 to the type pointed to by the user pointer before assigning it.

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