summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rdma/hfi1/pcie.c
diff options
context:
space:
mode:
authorEaswar Hariharan2016-02-03 23:34:49 +0100
committerDoug Ledford2016-03-11 02:37:54 +0100
commit82ab09e131ffb0497c9631e2c53b44fbf9ad5e1c (patch)
treeee5045728af1e6e4d458a53004606815cfce3bea /drivers/staging/rdma/hfi1/pcie.c
parentstaging/rdma/hfi1: Improve performance of TID cache look up (diff)
downloadkernel-qcow2-linux-82ab09e131ffb0497c9631e2c53b44fbf9ad5e1c.tar.gz
kernel-qcow2-linux-82ab09e131ffb0497c9631e2c53b44fbf9ad5e1c.tar.xz
kernel-qcow2-linux-82ab09e131ffb0497c9631e2c53b44fbf9ad5e1c.zip
staging/rdma/hfi1: Reduce syslog message severity and provide speed information
The syslog message causes unnecessary alarm for the single and dual port x8 cards by reporting at an error level. This patch reduces the severity to informational only and adds speed information. Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Easwar Hariharan <easwar.hariharan@intel.com> Signed-off-by: Jubin John <jubin.john@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/staging/rdma/hfi1/pcie.c')
-rw-r--r--drivers/staging/rdma/hfi1/pcie.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/staging/rdma/hfi1/pcie.c b/drivers/staging/rdma/hfi1/pcie.c
index 76cf80792516..6605a6afbb1d 100644
--- a/drivers/staging/rdma/hfi1/pcie.c
+++ b/drivers/staging/rdma/hfi1/pcie.c
@@ -398,9 +398,7 @@ int pcie_speeds(struct hfi1_devdata *dd)
/* obtain the link width and current speed */
update_lbus_info(dd);
- /* check against expected pcie width and complain if "wrong" */
- if (dd->lbus_width < 16)
- dd_dev_err(dd, "PCIe width %u (x16 HFI)\n", dd->lbus_width);
+ dd_dev_info(dd, "%s\n", dd->lbus_info);
return 0;
}