Revision 453828625731d0ba7218242ef6ec88f59408f368 authored by Tobias Klauser on 12 January 2017, 15:53:11 UTC, committed by Ingo Molnar on 14 January 2017, 08:32:06 UTC
info->si_addr is of type void __user *, so it should be compared against
something from the same address space.

This fixes the following sparse error:

  arch/x86/mm/mpx.c:296:27: error: incompatible types in comparison expression (different address spaces)

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
1 parent 695085b
History
File Mode Size
Kconfig -rw-r--r-- 627 bytes
Makefile -rw-r--r-- 144 bytes
af_packet.c -rw-r--r-- 104.4 KB
diag.c -rw-r--r-- 6.3 KB
internal.h -rw-r--r-- 3.1 KB

back to top