aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/sw/rxe/rxe_loc.h
diff options
context:
space:
mode:
authorKamal Heib <kamalheib1@gmail.com>2017-06-15 11:29:04 +0300
committerDoug Ledford <dledford@redhat.com>2017-07-24 08:43:12 -0400
commitc498e82e3c3231504831cd391970e63c1597a01b (patch)
tree6cd907e7324bdf3edccc8127f8b66d5a3a6c1430 /drivers/infiniband/sw/rxe/rxe_loc.h
parentIB/rxe: Use "foo *bar" instead of "foo * bar" (diff)
downloadlinux-dev-c498e82e3c3231504831cd391970e63c1597a01b.tar.xz
linux-dev-c498e82e3c3231504831cd391970e63c1597a01b.zip
IB/rxe: Prefer 'unsigned int' to bare use of 'unsigned'
Signed-off-by: Kamal Heib <kamalh@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/sw/rxe/rxe_loc.h')
-rw-r--r--drivers/infiniband/sw/rxe/rxe_loc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/sw/rxe/rxe_loc.h b/drivers/infiniband/sw/rxe/rxe_loc.h
index d6299edf9a5b..6b65c0132289 100644
--- a/drivers/infiniband/sw/rxe/rxe_loc.h
+++ b/drivers/infiniband/sw/rxe/rxe_loc.h
@@ -250,7 +250,7 @@ void rxe_resp_queue_pkt(struct rxe_dev *rxe,
void rxe_comp_queue_pkt(struct rxe_dev *rxe,
struct rxe_qp *qp, struct sk_buff *skb);
-static inline unsigned wr_opcode_mask(int opcode, struct rxe_qp *qp)
+static inline unsigned int wr_opcode_mask(int opcode, struct rxe_qp *qp)
{
return rxe_wr_opcode_info[opcode].mask[qp->ibqp.qp_type];
}