linux/drivers/infiniband/sw/rdmavt
Mike Marciniszyn b218f786ad IB/hfi1: Use global defines for upper bits in opcode
The awkward coding for setting the allowed_ops field
was tripping an smatch warning.

This patch uses the more appropriate defines from include/rdma
to avoid the issue.

As part of the patch remove a mask that was duplicated
in rdmavt include files and use that mask as appropriate.

Fixes: 8bea6b1cfe6f ("IB/rdmavt: Add create queue pair functionality")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-04-28 16:32:28 -04:00
..
ah.c IB/rdmavt: Clean up comments and add more documentation 2016-03-10 20:38:08 -05:00
ah.h IB/rdmavt: Fix copyright date 2016-03-10 20:37:27 -05:00
cq.c IB/rdmavt: Remove RVT_FLAGs 2016-03-10 20:38:10 -05:00
cq.h IB/rdmavt: Fix copyright date 2016-03-10 20:37:27 -05:00
dma.c IB/rdmavt: Fix copyright date 2016-03-10 20:37:27 -05:00
dma.h IB/rdmavt: Fix copyright date 2016-03-10 20:37:27 -05:00
Kconfig
mad.c IB/rdmavt: Clean up comments and add more documentation 2016-03-10 20:38:08 -05:00
mad.h IB/rdmavt: Clean up distinction between port number and index 2016-03-10 20:37:31 -05:00
Makefile IB/rdmavt: Add support for tracing events 2016-03-10 20:37:24 -05:00
mcast.c IB/rdmavt: Clean up comments and add more documentation 2016-03-10 20:38:08 -05:00
mcast.h IB/rdmavt: Fix copyright date 2016-03-10 20:37:27 -05:00
mmap.c IB/rdmavt: Remove unnecessary exported functions 2016-03-10 20:38:10 -05:00
mmap.h IB/rdmavt: Remove unnecessary exported functions 2016-03-10 20:38:10 -05:00
mr.c IB/rdmavt: Check lkey_table_size value before use 2016-03-10 20:45:45 -05:00
mr.h IB/rdmavt: Fix copyright date 2016-03-10 20:37:27 -05:00
pd.c IB/rdmavt: Clean up comments and add more documentation 2016-03-10 20:38:08 -05:00
pd.h IB/rdmavt: Fix copyright date 2016-03-10 20:37:27 -05:00
qp.c IB/hfi1: Use global defines for upper bits in opcode 2016-04-28 16:32:28 -04:00
qp.h IB/rdmavt: Fix copyright date 2016-03-10 20:37:27 -05:00
srq.c IB/rdmavt: Remove unnecessary exported functions 2016-03-10 20:38:10 -05:00
srq.h IB/rdmavt: Add srq functionality to rdmavt 2016-03-10 20:37:30 -05:00
trace.c IB/rdmavt: Fix copyright date 2016-03-10 20:37:27 -05:00
trace.h IB/rdmavt: Add trace and error print statements in post_one_wr 2016-03-10 20:38:08 -05:00
vt.c IB/rdmavt,hfi1,qib: Fix memory leak 2016-04-28 16:32:27 -04:00
vt.h IB/rdmavt: Remove unnecessary exported functions 2016-03-10 20:38:10 -05:00