forked from luck/tmp_suning_uos_patched
RDS/RDMA: Fix cut-n-paste errors in printks in rdma_transport.c
Signed-off-by: Andy Grover <andy.grover@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
8dacd57e7e
commit
92c330b9e9
|
@ -101,7 +101,7 @@ int rds_rdma_cm_event_handler(struct rdma_cm_id *cm_id,
|
|||
break;
|
||||
|
||||
case RDMA_CM_EVENT_DISCONNECTED:
|
||||
printk(KERN_WARNING "RDS/IW: DISCONNECT event - dropping connection "
|
||||
printk(KERN_WARNING "RDS/RDMA: DISCONNECT event - dropping connection "
|
||||
"%pI4->%pI4\n", &conn->c_laddr,
|
||||
&conn->c_faddr);
|
||||
rds_conn_drop(conn);
|
||||
|
@ -132,7 +132,7 @@ static int __init rds_rdma_listen_init(void)
|
|||
cm_id = rdma_create_id(rds_rdma_cm_event_handler, NULL, RDMA_PS_TCP);
|
||||
if (IS_ERR(cm_id)) {
|
||||
ret = PTR_ERR(cm_id);
|
||||
printk(KERN_ERR "RDS/IW: failed to setup listener, "
|
||||
printk(KERN_ERR "RDS/RDMA: failed to setup listener, "
|
||||
"rdma_create_id() returned %d\n", ret);
|
||||
goto out;
|
||||
}
|
||||
|
@ -147,14 +147,14 @@ static int __init rds_rdma_listen_init(void)
|
|||
*/
|
||||
ret = rdma_bind_addr(cm_id, (struct sockaddr *)&sin);
|
||||
if (ret) {
|
||||
printk(KERN_ERR "RDS/IW: failed to setup listener, "
|
||||
printk(KERN_ERR "RDS/RDMA: failed to setup listener, "
|
||||
"rdma_bind_addr() returned %d\n", ret);
|
||||
goto out;
|
||||
}
|
||||
|
||||
ret = rdma_listen(cm_id, 128);
|
||||
if (ret) {
|
||||
printk(KERN_ERR "RDS/IW: failed to setup listener, "
|
||||
printk(KERN_ERR "RDS/RDMA: failed to setup listener, "
|
||||
"rdma_listen() returned %d\n", ret);
|
||||
goto out;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user