diff options
author | Kamal Heib <kamalheib1@gmail.com> | 2017-06-15 11:29:04 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-07-24 08:43:12 -0400 |
commit | c498e82e3c3231504831cd391970e63c1597a01b (patch) | |
tree | 6cd907e7324bdf3edccc8127f8b66d5a3a6c1430 /drivers/infiniband/sw/rxe/rxe_loc.h | |
parent | 3363828758597ed5e0f20172fccaad514b947031 (diff) | |
download | lwn-c498e82e3c3231504831cd391970e63c1597a01b.tar.gz lwn-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.h | 2 |
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]; } |