@@ -180,7 +180,7 @@ const char *ibv_wc_opcode_str(enum ibv_wc_opcode opcode)
180180 case IBV_WC_RECV : return "IBV_WC_RECV" ;
181181 case IBV_WC_RECV_RDMA_WITH_IMM : return "IBV_WC_RECV_RDMA_WITH_IMM" ;
182182 default : return "IBV_WC_UNKNOWN" ;
183- };
183+ }
184184}
185185
186186/*---------------------------------------------------------------------------*/
@@ -291,7 +291,7 @@ static struct xio_mr *xio_reg_mr_ex(struct xio_context *ctx,
291291 int retval ;
292292 static int init_transport = 1 ;
293293
294- /* Show a warning in case the memory is non aligned */
294+ /* Show a warning in case the memory is non- aligned */
295295 /*
296296 if ((access & IBV_XIO_ACCESS_ALLOCATE_MR) == 0 &&
297297 ((uintptr_t)(*addr) & (page_size - 1)) != 0) {
@@ -325,7 +325,7 @@ static struct xio_mr *xio_reg_mr_ex(struct xio_context *ctx,
325325 goto cleanup2 ;
326326 }
327327 INIT_LIST_HEAD (& tmr -> dm_list );
328- /* xio_dereg_mr may be called on error path and it will call
328+ /* xio_dereg_mr may be called on error path, and it will call
329329 * list_del on mr_list_entry, make sure it is initialized
330330 */
331331 INIT_LIST_HEAD (& tmr -> mr_list_entry );
@@ -442,7 +442,7 @@ uint32_t xio_lookup_rkey_by_response(const struct xio_reg_mem *reg_mem,
442442
443443/*---------------------------------------------------------------------------*/
444444/* xio_reg_mr_add_dev */
445- /* add a new discovered device to a the mr list */
445+ /* add a new discovered device to the mr list */
446446/*---------------------------------------------------------------------------*/
447447int xio_reg_mr_add_dev (struct xio_device * dev )
448448{
0 commit comments