Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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

parent 33638287
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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];
}
+1 −1
Original line number Diff line number Diff line
@@ -188,7 +188,7 @@ int rxe_pool_init(
	struct rxe_dev		*rxe,
	struct rxe_pool		*pool,
	enum rxe_elem_type	type,
	unsigned		max_elem)
	unsigned int		max_elem)
{
	int			err = 0;
	size_t			size = rxe_type_info[type].size;
+1 −1
Original line number Diff line number Diff line
@@ -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,
					  struct rxe_send_wqe *wqe,
					  unsigned mask, int npsn)
					  unsigned int mask, int npsn)
{
	int i;