We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6734b29 commit 061ccb5Copy full SHA for 061ccb5
drivers/infiniband/core/cma.c
@@ -3251,7 +3251,7 @@ static int cma_alloc_port(enum rdma_ucm_port_space ps,
3251
goto err;
3252
3253
bind_list->ps = ps;
3254
- bind_list->port = (unsigned short)ret;
+ bind_list->port = snum;
3255
cma_bind_port(bind_list, id_priv);
3256
return 0;
3257
err:
0 commit comments