aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rdma/hfi1/file_ops.c
diff options
context:
space:
mode:
authorDennis Dalessandro <dennis.dalessandro@intel.com>2016-05-19 05:26:37 -0700
committerDoug Ledford <dledford@redhat.com>2016-05-26 11:35:13 -0400
commit8a1882ebd4b593df0e36ba0b72e4e2f632573274 (patch)
tree093a654e59c450c746d6f8ee03b585a903d2e026 /drivers/staging/rdma/hfi1/file_ops.c
parentIB/hfi1: Remove write(), use ioctl() for user cmds (diff)
downloadlinux-dev-8a1882ebd4b593df0e36ba0b72e4e2f632573274.tar.xz
linux-dev-8a1882ebd4b593df0e36ba0b72e4e2f632573274.zip
IB/hfi1: Add trace message in user IOCTL handling
Add a trace message to HFI1s user IOCTL handling. This allows debugging of which IOCTLs are being handled by the driver. Reviewed-by: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/staging/rdma/hfi1/file_ops.c')
-rw-r--r--drivers/staging/rdma/hfi1/file_ops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/rdma/hfi1/file_ops.c b/drivers/staging/rdma/hfi1/file_ops.c
index c46eadadf3bf..113917021af8 100644
--- a/drivers/staging/rdma/hfi1/file_ops.c
+++ b/drivers/staging/rdma/hfi1/file_ops.c
@@ -188,6 +188,7 @@ static long hfi1_file_ioctl(struct file *fp, unsigned int cmd,
unsigned long ul_uval = 0;
u16 uval16 = 0;
+ hfi1_cdbg(IOCTL, "IOCTL recv: 0x%x", cmd);
if (cmd != HFI1_IOCTL_ASSIGN_CTXT &&
cmd != HFI1_IOCTL_GET_VERS &&
!uctxt)