summaryrefslogtreecommitdiff
path: root/arch/xtensa/variants/fsf
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2020-05-22 15:52:03 -0700
committerMax Filippov <jcmvbkbc@gmail.com>2020-05-22 16:09:00 -0700
commit9afcc71b4f85ee9c9604c9b8349bac0eed44aa63 (patch)
tree91908c6c4e6ca66310b8383d5001d82821848888 /arch/xtensa/variants/fsf
parentc22f9075044057f130f6b73a0638a2eb78f459ad (diff)
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>
Diffstat (limited to 'arch/xtensa/variants/fsf')
0 files changed, 0 insertions, 0 deletions