diff options
author | Easwar Hariharan | 2016-02-18 20:12:16 +0100 |
---|---|---|
committer | Doug Ledford | 2016-03-11 02:45:43 +0100 |
commit | e8aa284ba0cd2a1b6bfb3181a5b3b7f0bdefbe1a (patch) | |
tree | 4efa2101447ef8ed666836ddd33d8dd23808b171 /drivers/staging/rdma/hfi1/qsfp.c | |
parent | staging/rdma/hfi1: Fix xmit discard error weight (diff) | |
download | kernel-qcow2-linux-e8aa284ba0cd2a1b6bfb3181a5b3b7f0bdefbe1a.tar.gz kernel-qcow2-linux-e8aa284ba0cd2a1b6bfb3181a5b3b7f0bdefbe1a.tar.xz kernel-qcow2-linux-e8aa284ba0cd2a1b6bfb3181a5b3b7f0bdefbe1a.zip |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rdma/hfi1/qsfp.c b/drivers/staging/rdma/hfi1/qsfp.c index e38a0eb131ea..07330b030ee0 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) |