summaryrefslogtreecommitdiff
path: root/drivers/staging/rdma/hfi1/qsfp.c
diff options
context:
space:
mode:
authorEaswar Hariharan <easwar.hariharan@intel.com>2016-02-18 19:12:16 (GMT)
committerDoug Ledford <dledford@redhat.com>2016-03-11 01:45:43 (GMT)
commite8aa284ba0cd2a1b6bfb3181a5b3b7f0bdefbe1a (patch)
tree4efa2101447ef8ed666836ddd33d8dd23808b171 /drivers/staging/rdma/hfi1/qsfp.c
parent4c9e7aacb6a6334168a81b83819fb5cb088d2fb3 (diff)
downloadlinux-e8aa284ba0cd2a1b6bfb3181a5b3b7f0bdefbe1a.tar.xz
staging/rdma/hfi1: Cleanup comments and logs in PHY code
This is a set of minor fixes including comment and log message cleanups and improvements to the PHY layer code. Reviewed-by: Dean Luick <dean.luick@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/qsfp.c')
-rw-r--r--drivers/staging/rdma/hfi1/qsfp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rdma/hfi1/qsfp.c b/drivers/staging/rdma/hfi1/qsfp.c
index e38a0eb..07330b0 100644
--- a/drivers/staging/rdma/hfi1/qsfp.c
+++ b/drivers/staging/rdma/hfi1/qsfp.c
@@ -187,7 +187,7 @@ done:
/*
* Write page n, offset m of QSFP memory as defined by SFF 8636
- * in the cache by writing @addr = ((256 * n) + m)
+ * by writing @addr = ((256 * n) + m)
*/
int qsfp_write(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp,
int len)
@@ -253,7 +253,7 @@ int qsfp_write(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp,
/*
* Access page n, offset m of QSFP memory as defined by SFF 8636
- * in the cache by reading @addr = ((256 * n) + m)
+ * by reading @addr = ((256 * n) + m)
*/
int qsfp_read(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp,
int len)