diff options
author | Eric W. Biederman | 2018-02-12 16:35:39 +0100 |
---|---|---|
committer | Eric W. Biederman | 2018-09-19 15:52:21 +0200 |
commit | 8a35eb22c02baf0c58b44ba28fc163270ef147f8 (patch) | |
tree | 3090728319f41792a128217c8616ee20f9cb951c /arch/x86/include/asm/trace | |
parent | signal/x86: Use send_sig_mceerr as apropriate (diff) | |
download | kernel-qcow2-linux-8a35eb22c02baf0c58b44ba28fc163270ef147f8.tar.gz kernel-qcow2-linux-8a35eb22c02baf0c58b44ba28fc163270ef147f8.tar.xz kernel-qcow2-linux-8a35eb22c02baf0c58b44ba28fc163270ef147f8.zip |
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>
Diffstat (limited to 'arch/x86/include/asm/trace')
-rw-r--r-- | arch/x86/include/asm/trace/mpx.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/include/asm/trace/mpx.h b/arch/x86/include/asm/trace/mpx.h index 7bd92db09e8d..54133017267c 100644 --- a/arch/x86/include/asm/trace/mpx.h +++ b/arch/x86/include/asm/trace/mpx.h @@ -11,12 +11,12 @@ TRACE_EVENT(mpx_bounds_register_exception, - TP_PROTO(void *addr_referenced, + TP_PROTO(void __user *addr_referenced, const struct mpx_bndreg *bndreg), TP_ARGS(addr_referenced, bndreg), TP_STRUCT__entry( - __field(void *, addr_referenced) + __field(void __user *, addr_referenced) __field(u64, lower_bound) __field(u64, upper_bound) ), |