From: Allen Hubbe Date: Tue, 12 May 2015 10:55:44 +0000 (-0400) Subject: NTB: Differentiate transport link down messages X-Git-Tag: v4.14-rc1~5080^2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e22e0b9dcf78ee7a72561a6770c9ea554eb65096;p=platform%2Fkernel%2Flinux-rpi.git NTB: Differentiate transport link down messages 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 Signed-off-by: Jon Mason --- diff --git a/drivers/ntb/ntb_transport.c b/drivers/ntb/ntb_transport.c index d9538e9..8d9b59f 100644 --- a/drivers/ntb/ntb_transport.c +++ b/drivers/ntb/ntb_transport.c @@ -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);