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-- 965 bytes
Makefile -rw-r--r-- 224 bytes
af_unix.c -rw-r--r-- 67.6 KB
diag.c -rw-r--r-- 7.0 KB
garbage.c -rw-r--r-- 10.5 KB
sysctl_net_unix.c -rw-r--r-- 1.3 KB

back to top