signal/x86: In trace_mpx_bounds_register_exception add __user annotations
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 12 Feb 2018 15:35:39 +0000 (09:35 -0600)
committerEric W. Biederman <ebiederm@xmission.com>
Wed, 19 Sep 2018 13:52:21 +0000 (15:52 +0200)
commit8a35eb22c02baf0c58b44ba28fc163270ef147f8
tree3090728319f41792a128217c8616ee20f9cb951c
parent585a8b9b48e9d5402cbd9ac3a94ac72f5368d48b
signal/x86: In trace_mpx_bounds_register_exception add __user annotations

The value passed in to addr_referenced is of type void __user *, so update
the addr_referenced parameter in trace_mpx_bounds_register_exception to match.

Also update the addr_referenced paramater in TP_STRUCT__entry as it again
holdes the same value.

I don't know why this was missed earlier but sparse was complaining when
testing test branch so fix this now.

Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
arch/x86/include/asm/trace/mpx.h