Commit 609bb8c3 authored by Xiao Yang's avatar Xiao Yang Committed by Jason Gunthorpe
Browse files

RDMA/rxe: Change the is_user member of struct rxe_cq to bool

Make the is_user members of struct rxe_qp/rxe_cq has the same type.

Link: https://lore.kernel.org/r/20210930094813.226888-3-yangx.jy@fujitsu.com


Signed-off-by: default avatarXiao Yang <yangx.jy@fujitsu.com>
Signed-off-by: default avatarJason Gunthorpe <jgg@nvidia.com>
parent 1cf2ce82
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -77,8 +77,7 @@ int rxe_cq_from_init(struct rxe_dev *rxe, struct rxe_cq *cq, int cqe,
		return err;
	}

	if (uresp)
		cq->is_user = 1;
	cq->is_user = uresp;

	cq->is_dying = false;

+1 −1
Original line number Diff line number Diff line
@@ -64,7 +64,7 @@ struct rxe_cq {
	spinlock_t		cq_lock;
	u8			notify;
	bool			is_dying;
	int			is_user;
	bool			is_user;
	struct tasklet_struct	comp_task;
};