x86/mm/fault.c: Convert to use vm_fault_t
PATCH 1/1 x86/mm/fault.c: Convert to use vm_fault_t
Convert to use vm_fault_t type for last argument of do_sigbus().
Signed-off-by Souptick Joarder <[email protected]>
--- arch/x86/mm/fault.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/mm/fault.c +1 -1
@@ -1031,7 +1031,7 @@ static inline bool bad_area_access_from_pkeys(unsigned long error_code,static void do_sigbus (struct pt_regs *regs,unsigned long error_code,unsigned long address, -unsigned int fault) +vm_fault_t fault) {struct task_struct *tsk = current;
Signature · 1 line
1.9.1
Quoted 4 lines · Souptick Joarder
Convert to use
vm_fault_ttype for last argument ofdo_sigbus().Signed-off-by Souptick Joarder <[email protected]>
kbuild reported a warning during testing of final vm_fault_t patch integrated in mm tree.
[auto build test WARNING on linus/master]
[also build test WARNING on v5.0-rc1 next-20190109]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
This patch has fixed the warning.
Quoted 20 lines
--- arch/x86/mm/fault.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/x86/mm/fault.c +1
-2@@ -1031,7 +1031,7 @@ static inline bool bad_area_access_from_pkeys(unsigned long error_code,static void do_sigbus (struct pt_regs *regs,unsigned long error_code,unsigned long address, -unsigned int fault) +vm_fault_t fault) {struct task_struct *tsk = current; --1.9.1