linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] x86/mm/fault.c: Convert to use vm_fault_t
@ 2019-01-09 15:22 Souptick Joarder
  2019-01-09 15:23 ` Souptick Joarder
  0 siblings, 1 reply; 2+ messages in thread
From: Souptick Joarder @ 2019-01-09 15:22 UTC (permalink / raw)
  To: akpm
  Cc: dave.hansen, luto, peterz, tglx, mingo, bp, hpa, x86,
	linux-kernel, willy, ak

Convert to use vm_fault_t type for last argument of do_sigbus().

Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
---
 arch/x86/mm/fault.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/mm/fault.c b/arch/x86/mm/fault.c
index 2ff25ad..dea3725 100644
--- a/arch/x86/mm/fault.c
+++ b/arch/x86/mm/fault.c
@@ -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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] x86/mm/fault.c: Convert to use vm_fault_t
  2019-01-09 15:22 [PATCH] x86/mm/fault.c: Convert to use vm_fault_t Souptick Joarder
@ 2019-01-09 15:23 ` Souptick Joarder
  0 siblings, 0 replies; 2+ messages in thread
From: Souptick Joarder @ 2019-01-09 15:23 UTC (permalink / raw)
  To: Andrew Morton
  Cc: dave.hansen, luto, Peter Zijlstra, Thomas Gleixner, Ingo Molnar,
	bp, H. Peter Anvin, X86 ML, linux-kernel, Matthew Wilcox, ak

On Wed, Jan 9, 2019 at 8:48 PM Souptick Joarder <jrdr.linux@gmail.com> wrote:
>
> Convert to use vm_fault_t type for last argument of do_sigbus().
>
> Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>

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]

url:    https://github.com/0day-ci/linux/commits/Souptick-Joarder/mm-Create-the-new-vm_fault_t-type/20190109-154216

This patch has fixed the warning.

> ---
>  arch/x86/mm/fault.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/x86/mm/fault.c b/arch/x86/mm/fault.c
> index 2ff25ad..dea3725 100644
> --- a/arch/x86/mm/fault.c
> +++ b/arch/x86/mm/fault.c
> @@ -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
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-01-09 15:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-09 15:22 [PATCH] x86/mm/fault.c: Convert to use vm_fault_t Souptick Joarder
2019-01-09 15:23 ` Souptick Joarder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).