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
..
2023-03-17 08:45:14 +01:00
2023-01-04 11:39:22 +01:00
2023-06-09 10:30:11 +02:00
2023-06-09 10:30:11 +02:00
2023-01-04 11:39:21 +01:00
2023-02-01 08:23:20 +01:00
2023-02-01 08:23:19 +01:00
2023-02-01 08:23:19 +01:00
2023-05-17 11:48:06 +02:00
2023-05-30 12:57:56 +01:00
2023-02-01 08:23:19 +01:00
2023-05-17 11:47:33 +02:00
2023-02-01 08:23:19 +01:00
2023-02-01 08:23:19 +01:00
2023-05-17 11:48:03 +02:00
2023-05-30 12:57:57 +01:00
2023-05-30 12:57:55 +01:00
2023-04-20 12:10:28 +02:00
2023-04-26 11:27:37 +02:00
2023-05-17 11:48:15 +02:00
2023-03-11 16:39:40 +01:00
2023-03-17 08:45:17 +01:00
2023-06-05 09:07:01 +02:00
2023-04-05 11:23:51 +02:00
2021-11-18 14:04:32 +01:00