aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJubin John <jubin.john@intel.com>2016-05-12 10:23:22 -0700
committerDoug Ledford <dledford@redhat.com>2016-05-13 19:39:17 -0400
commit02ba00c0bbfbbe8abd81abd38302d400b59e220f (patch)
tree67383d6eff2765e77182d1ca0d12d893ecbf24bd /drivers
parentIB/hfi1: Remove unnecessary header (diff)
downloadlinux-dev-02ba00c0bbfbbe8abd81abd38302d400b59e220f.tar.xz
linux-dev-02ba00c0bbfbbe8abd81abd38302d400b59e220f.zip
IB/hfi1: Fix hfi_rcvhdr tracepoint
The hfi_rcvhdr tracepoint has the ctxt and eflags switched in the prototype of the trace event, compared to the args and usage of the trace function. Fix this by swapping these 2 fields in the trace event prototype. Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Jubin John <jubin.john@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/rdma/hfi1/trace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rdma/hfi1/trace.h b/drivers/staging/rdma/hfi1/trace.h
index 963dc948c38a..42bcfc3e15d5 100644
--- a/drivers/staging/rdma/hfi1/trace.h
+++ b/drivers/staging/rdma/hfi1/trace.h
@@ -74,8 +74,8 @@ __print_symbolic(etype, \
TRACE_EVENT(hfi1_rcvhdr,
TP_PROTO(struct hfi1_devdata *dd,
- u64 eflags,
u32 ctxt,
+ u64 eflags,
u32 etype,
u32 hlen,
u32 tlen,