Min-Hua Chen
05226a8f22
arm64/mm: mark private VM_FAULT_X defines as vm_fault_t
...
[ Upstream commit d91d580878064b880f3574ac35b98d8b70ee8620 ]
This patch fixes several sparse warnings for fault.c:
arch/arm64/mm/fault.c:493:24: sparse: warning: incorrect type in return expression (different base types)
arch/arm64/mm/fault.c:493:24: sparse: expected restricted vm_fault_t
arch/arm64/mm/fault.c:493:24: sparse: got int
arch/arm64/mm/fault.c:501:32: sparse: warning: incorrect type in return expression (different base types)
arch/arm64/mm/fault.c:501:32: sparse: expected restricted vm_fault_t
arch/arm64/mm/fault.c:501:32: sparse: got int
arch/arm64/mm/fault.c:503:32: sparse: warning: incorrect type in return expression (different base types)
arch/arm64/mm/fault.c:503:32: sparse: expected restricted vm_fault_t
arch/arm64/mm/fault.c:503:32: sparse: got int
arch/arm64/mm/fault.c:511:24: sparse: warning: incorrect type in return expression (different base types)
arch/arm64/mm/fault.c:511:24: sparse: expected restricted vm_fault_t
arch/arm64/mm/fault.c:511:24: sparse: got int
arch/arm64/mm/fault.c:670:13: sparse: warning: restricted vm_fault_t degrades to integer
arch/arm64/mm/fault.c:670:13: sparse: warning: restricted vm_fault_t degrades to integer
arch/arm64/mm/fault.c:713:39: sparse: warning: restricted vm_fault_t degrades to integer
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Min-Hua Chen <minhuadotchen@gmail.com>
Link: https://lore.kernel.org/r/20230502151909.128810-1-minhuadotchen@gmail.com
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-06-09 10:30:11 +02:00
..
2022-06-25 15:16:09 +02:00
2020-09-28 22:15:38 +01:00
2022-06-09 10:21:06 +02:00
2020-10-06 07:07:06 +02:00
2020-09-18 16:35:54 +01:00
2023-06-09 10:30:11 +02:00
2021-05-19 10:13:11 +02:00
2021-10-20 11:44:58 +02:00
2022-04-08 14:40:45 +02:00
2022-05-18 10:23:48 +02:00
2020-10-13 18:38:35 -07:00
2020-10-02 12:16:11 +01:00
2019-09-24 15:54:11 -07:00
2022-04-08 14:40:45 +02:00
2020-09-04 12:46:07 +01:00
2020-10-13 18:38:35 -07:00
2020-09-18 14:33:46 +01:00
2019-09-24 15:54:09 -07:00
2021-02-07 15:37:13 +01:00
2021-07-14 16:56:06 +02:00
2020-03-04 15:35:22 +00:00
2020-10-02 12:16:11 +01:00