Min-Hua Chen
2944b9f0fd
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:32:25 +02:00
..
2022-06-25 15:18:40 +02:00
2021-06-01 18:52:05 +01:00
2023-05-30 13:55:29 +01:00
2021-06-25 15:02:43 +02:00
2022-01-29 10:58:25 +01:00
2023-06-09 10:32:25 +02:00
2021-05-25 19:27:49 +01:00
2021-10-11 18:45:19 +01:00
2022-04-27 14:38:50 +02:00
2022-05-18 10:26:56 +02:00
2021-04-15 14:00:38 +01:00
2021-02-26 10:28:35 -08:00
2022-03-16 14:23:43 +01:00
2022-04-08 14:23:06 +02:00
2022-12-08 11:28:37 +01:00
2021-07-08 11:48:20 -07:00
2019-09-24 15:54:09 -07:00
2021-02-02 17:44:47 +00:00
2022-10-29 10:12:57 +02:00
2021-04-08 17:45:10 +01:00
2022-01-29 10:58:25 +01:00
2021-01-27 15:41:12 +00:00