Re: [PATCH] x86: define LOADED_MM_SWITCHING with pointer-sized number

2019-03-29 Thread Jann Horn
On Fri, Mar 29, 2019 at 2:57 PM Borislav Petkov wrote: > > > Subject: Re: [PATCH] x86: define LOADED_MM_SWITCHING with pointer-sized > > number > > For the future: > > The tip tree preferred format for patch subject prefixes is > 'subsys/component:', e

Re: [PATCH] x86: define LOADED_MM_SWITCHING with pointer-sized number

2019-03-29 Thread Borislav Petkov
> Subject: Re: [PATCH] x86: define LOADED_MM_SWITCHING with pointer-sized number For the future: The tip tree preferred format for patch subject prefixes is 'subsys/component:', e.g. 'x86/apic:', 'x86/mm/fault:', 'sched/fair:', 'genirq/core:'

Re: [PATCH] x86: define LOADED_MM_SWITCHING with pointer-sized number

2019-03-29 Thread Mukesh Ojha
On 3/29/2019 4:39 AM, Jann Horn wrote: sparse complains that LOADED_MM_SWITCHING's definition casts an int to a pointer: arch/x86/mm/tlb.c:409:17: warning: non size-preserving integer to pointer cast Use a pointer-sized integer constant instead. Signed-off-by: Jann Horn Reviewed-by: Muke

[PATCH] x86: define LOADED_MM_SWITCHING with pointer-sized number

2019-03-28 Thread Jann Horn
sparse complains that LOADED_MM_SWITCHING's definition casts an int to a pointer: arch/x86/mm/tlb.c:409:17: warning: non size-preserving integer to pointer cast Use a pointer-sized integer constant instead. Signed-off-by: Jann Horn --- arch/x86/include/asm/tlbflush.h | 2 +- 1 file changed, 1