Min-Hua Chen
90e6877563
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:24:00 +02:00
..
2019-01-26 09:32:39 +01:00
2018-06-12 16:19:22 -07:00
2015-12-17 11:07:13 +00:00
2019-05-31 06:46:01 -07:00
2018-02-16 18:13:57 +00:00
2017-11-02 11:10:55 +01:00
2023-06-09 10:24:00 +02:00
2019-02-06 17:30:12 +01:00
2020-05-14 07:57:21 +02:00
2019-07-26 09:14:04 +02:00
2017-02-09 13:47:56 +00:00
2018-04-17 16:16:59 +01:00
2017-11-02 11:10:55 +01:00
2019-10-07 18:57:17 +02:00
2022-09-05 10:26:32 +02:00
2020-11-05 11:08:42 +01:00
2018-02-16 18:13:57 +00:00
2017-12-22 17:35:21 +00:00
2017-11-02 11:10:55 +01:00
2019-10-05 13:09:51 +02:00
2018-07-02 10:36:37 +01:00