Commit c498e82e authored by Kamal Heib's avatar Kamal Heib Committed by Doug Ledford

IB/rxe: Prefer 'unsigned int' to bare use of 'unsigned'

Signed-off-by: default avatarKamal Heib <kamalh@mellanox.com>
Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent 33638287
...@@ -250,7 +250,7 @@ void rxe_resp_queue_pkt(struct rxe_dev *rxe, ...@@ -250,7 +250,7 @@ void rxe_resp_queue_pkt(struct rxe_dev *rxe,
void rxe_comp_queue_pkt(struct rxe_dev *rxe, void rxe_comp_queue_pkt(struct rxe_dev *rxe,
struct rxe_qp *qp, struct sk_buff *skb); 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]; return rxe_wr_opcode_info[opcode].mask[qp->ibqp.qp_type];
} }
......
...@@ -188,7 +188,7 @@ int rxe_pool_init( ...@@ -188,7 +188,7 @@ int rxe_pool_init(
struct rxe_dev *rxe, struct rxe_dev *rxe,
struct rxe_pool *pool, struct rxe_pool *pool,
enum rxe_elem_type type, enum rxe_elem_type type,
unsigned max_elem) unsigned int max_elem)
{ {
int err = 0; int err = 0;
size_t size = rxe_type_info[type].size; size_t size = rxe_type_info[type].size;
......
...@@ -43,7 +43,7 @@ static int next_opcode(struct rxe_qp *qp, struct rxe_send_wqe *wqe, ...@@ -43,7 +43,7 @@ static int next_opcode(struct rxe_qp *qp, struct rxe_send_wqe *wqe,
static inline void retry_first_write_send(struct rxe_qp *qp, static inline void retry_first_write_send(struct rxe_qp *qp,
struct rxe_send_wqe *wqe, struct rxe_send_wqe *wqe,
unsigned mask, int npsn) unsigned int mask, int npsn)
{ {
int i; int i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment