diff options
author | Tobias Klauser <[email protected]> | 2017-01-12 16:53:11 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2017-01-14 09:32:06 +0100 |
commit | 453828625731d0ba7218242ef6ec88f59408f368 (patch) | |
tree | b5a17e5faf2e3a989467d1ff631021293f5fbbe7 /scripts/gdb | |
parent | 695085b4bc7603551db0b3da897b8bf9893ca218 (diff) |
x86/mpx: Use compatible types in comparison to fix sparse error
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 <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/gdb')
0 files changed, 0 insertions, 0 deletions