Re: [PATCH -next] x86/mm: fix an unused variable "tsk" warning

2019-06-12 Thread Borislav Petkov
On Wed, Jun 12, 2019 at 01:19:06PM -0500, Eric W. Biederman wrote: > Since I am removing the tsk parameter from all of the synchrnous signal > sending functions, on all of the architectures it was easier to go > through my own tree than -tip. Yeah, I remember reading a mail about it... > The remo

Re: [PATCH -next] x86/mm: fix an unused variable "tsk" warning

2019-06-12 Thread Eric W. Biederman
Borislav Petkov writes: > On Fri, May 31, 2019 at 05:37:21PM -0400, Qian Cai wrote: >> Since the commit "signal: Remove the task parameter from >> force_sig_fault", "tsk" is only used when MEMORY_FAILURE=y and generates >> a compilation warning without it. >> >> arch/x86/mm/fault.c: In function

Re: [PATCH -next] x86/mm: fix an unused variable "tsk" warning

2019-06-12 Thread Borislav Petkov
On Fri, May 31, 2019 at 05:37:21PM -0400, Qian Cai wrote: > Since the commit "signal: Remove the task parameter from > force_sig_fault", "tsk" is only used when MEMORY_FAILURE=y and generates > a compilation warning without it. > > arch/x86/mm/fault.c: In function 'do_sigbus': > arch/x86/mm/fault.

[PATCH -next] x86/mm: fix an unused variable "tsk" warning

2019-05-31 Thread Qian Cai
Since the commit "signal: Remove the task parameter from force_sig_fault", "tsk" is only used when MEMORY_FAILURE=y and generates a compilation warning without it. arch/x86/mm/fault.c: In function 'do_sigbus': arch/x86/mm/fault.c:1017:22: warning: unused variable 'tsk' [-Wunused-variable] Also, c