diff options
author | Allen Hubbe <Allen.Hubbe@emc.com> | 2015-05-12 12:55:44 +0200 |
---|---|---|
committer | Jon Mason <jdmason@kudzu.us> | 2015-07-04 20:06:19 +0200 |
commit | e22e0b9dcf78ee7a72561a6770c9ea554eb65096 (patch) | |
tree | 76bac02c92b455916064bb419763d442bb493cba /drivers/ntb | |
parent | NTB: Check the device ID to set errata flags (diff) | |
download | linux-e22e0b9dcf78ee7a72561a6770c9ea554eb65096.tar.xz linux-e22e0b9dcf78ee7a72561a6770c9ea554eb65096.zip |
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 <Allen.Hubbe@emc.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Diffstat (limited to 'drivers/ntb')
-rw-r--r-- | drivers/ntb/ntb_transport.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ntb/ntb_transport.c b/drivers/ntb/ntb_transport.c index d9538e911df6..8d9b59f7fa07 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); |