NTB: Differentiate transport link down messages
authorAllen Hubbe <Allen.Hubbe@emc.com>
Tue, 12 May 2015 10:55:44 +0000 (06:55 -0400)
committerJon Mason <jdmason@kudzu.us>
Sat, 4 Jul 2015 18:06:19 +0000 (14:06 -0400)
The same message "qp %d: Link Down\n" was printed at two locations in
ntb_transport.  Change the messages so they are distinct.

Signed-off-by: Allen Hubbe <Allen.Hubbe@emc.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/ntb_transport.c

index d9538e911df658f74e6b4c9e98e733f8d3f236d4..8d9b59f7fa07ae167f847047e1f39bd47dfd7406 100644 (file)
@@ -658,7 +658,7 @@ static void ntb_qp_link_cleanup(struct ntb_transport_qp *qp)
                return;
        }
 
-       dev_info(&pdev->dev, "qp %d: Link Down\n", qp->qp_num);
+       dev_info(&pdev->dev, "qp %d: Link Cleanup\n", qp->qp_num);
        qp->link_is_up = false;
 
        if (qp->event_handler)
@@ -1470,7 +1470,7 @@ static void ntb_send_link_down(struct ntb_transport_qp *qp)
                return;
 
        qp->link_is_up = false;
-       dev_info(&pdev->dev, "qp %d: Link Down\n", qp->qp_num);
+       dev_info(&pdev->dev, "qp %d: Send Link Down\n", qp->qp_num);
 
        for (i = 0; i < NTB_LINK_DOWN_TIMEOUT; i++) {
                entry = ntb_list_rm(&qp->ntb_tx_free_q_lock, &qp->tx_free_q);