linux/arch/xtensa
Max Filippov 9afcc71b4f 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>
2020-05-22 16:09:00 -07:00
..
boot Xtensa updates for v5.7: 2020-04-10 17:39:20 -07:00
configs xtensa: reorganize vectors placement 2020-02-04 21:57:02 -08:00
include xtensa: fix error paths in __get_user_{check,size} 2020-05-22 16:09:00 -07:00
kernel Xtensa updates for v5.7: 2020-04-10 17:39:20 -07:00
lib xtensa: abstract 'entry' and 'retw' in assembly code 2019-07-08 10:04:48 -07:00
mm mm: allow VM_FAULT_RETRY for multiple times 2020-04-02 09:35:30 -07:00
oprofile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
platforms block: simplify queue allocation 2020-03-27 10:23:43 -06:00
variants xtensa: add test_kc705_be variant 2018-08-20 12:34:45 -07:00
Kconfig Xtensa updates for v5.7: 2020-04-10 17:39:20 -07:00
Kconfig.debug xtensa: make stack dump size configurable 2019-11-26 11:33:39 -08:00
Makefile xtensa: add XIP kernel support 2019-11-26 11:33:38 -08:00