mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-22 12:53:29 +07:00
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>
This commit is contained in:
parent
3363828758
commit
c498e82e3c
@ -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(
|
|||||||
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,
|
|||||||
|
|
||||||
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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user