diff options
author | Bharat Potnuri <bharat@chelsio.com> | 2017-09-27 13:05:50 +0530 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-09-27 10:13:15 -0400 |
commit | 4d45b7573ba74a278652b0566d779c2aa7ea3df1 (patch) | |
tree | 04506395d075533355efbf99802bddbee876d70f /drivers/infiniband/hw/cxgb4/iw_cxgb4.h | |
parent | 548ddb19afbabf8f7af7a900c19d0f0705d6dc90 (diff) | |
download | lwn-4d45b7573ba74a278652b0566d779c2aa7ea3df1.tar.gz lwn-4d45b7573ba74a278652b0566d779c2aa7ea3df1.zip |
iw_cxgb4: change pr_debug to appropriate log level
Error logs of iw_cxgb4 needs to be printed by default. This patch
changes the necessary pr_debug() to appropriate pr_<log level>.
Signed-off-by: Potnuri Bharat Teja <bharat@chelsio.com>
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/cxgb4/iw_cxgb4.h')
-rw-r--r-- | drivers/infiniband/hw/cxgb4/iw_cxgb4.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/cxgb4/iw_cxgb4.h b/drivers/infiniband/hw/cxgb4/iw_cxgb4.h index fafb899fec7c..433e78e5f25b 100644 --- a/drivers/infiniband/hw/cxgb4/iw_cxgb4.h +++ b/drivers/infiniband/hw/cxgb4/iw_cxgb4.h @@ -230,8 +230,8 @@ static inline int c4iw_wait_for_reply(struct c4iw_rdev *rdev, ret = wait_for_completion_timeout(&wr_waitp->completion, C4IW_WR_TO); if (!ret) { - pr_debug("%s - Device %s not responding (disabling device) - tid %u qpid %u\n", - func, pci_name(rdev->lldi.pdev), hwtid, qpid); + pr_err("%s - Device %s not responding (disabling device) - tid %u qpid %u\n", + func, pci_name(rdev->lldi.pdev), hwtid, qpid); rdev->flags |= T4_FATAL_ERROR; wr_waitp->ret = -EIO; } |