4.16-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Dou Liyang <douly.f...@cn.fujitsu.com>

commit 838d76d63ec4eaeaa12bedfa50f261480f615200 upstream.

The vector_alloc tracepont reversed the reserved and ret aggs, that made
the trace print wrong. Exchange them.

Fixes: 8d1e3dca7de6 ("x86/vector: Add tracepoints for vector management")
Signed-off-by: Dou Liyang <douly.f...@cn.fujitsu.com>
Signed-off-by: Thomas Gleixner <t...@linutronix.de>
Cc: h...@zytor.com
Cc: sta...@vger.kernel.org
Link: https://lkml.kernel.org/r/20180601065031.21872-1-douly.f...@cn.fujitsu.com
Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org>

---
 arch/x86/include/asm/trace/irq_vectors.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/arch/x86/include/asm/trace/irq_vectors.h
+++ b/arch/x86/include/asm/trace/irq_vectors.h
@@ -236,7 +236,7 @@ TRACE_EVENT(vector_alloc,
        TP_PROTO(unsigned int irq, unsigned int vector, bool reserved,
                 int ret),
 
-       TP_ARGS(irq, vector, ret, reserved),
+       TP_ARGS(irq, vector, reserved, ret),
 
        TP_STRUCT__entry(
                __field(        unsigned int,   irq             )


Reply via email to