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>
This commit is contained in:
Eric W. Biederman 2018-02-12 09:35:39 -06:00
parent 585a8b9b48
commit 8a35eb22c0
1 changed files with 2 additions and 2 deletions

View File

@ -11,12 +11,12 @@
TRACE_EVENT(mpx_bounds_register_exception, TRACE_EVENT(mpx_bounds_register_exception,
TP_PROTO(void *addr_referenced, TP_PROTO(void __user *addr_referenced,
const struct mpx_bndreg *bndreg), const struct mpx_bndreg *bndreg),
TP_ARGS(addr_referenced, bndreg), TP_ARGS(addr_referenced, bndreg),
TP_STRUCT__entry( TP_STRUCT__entry(
__field(void *, addr_referenced) __field(void __user *, addr_referenced)
__field(u64, lower_bound) __field(u64, lower_bound)
__field(u64, upper_bound) __field(u64, upper_bound)
), ),