linux/drivers/staging/rdma
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
..
hfi1 IB/hfi1: Use global defines for upper bits in opcode 2016-04-28 16:32:28 -04:00
Kconfig staging/rdma: remove deprecated ipath driver 2016-02-03 11:10:58 -05:00
Makefile staging/rdma: remove deprecated ipath driver 2016-02-03 11:10:58 -05:00