commits 2e96691c "IB: Use central enum for speed instead of hard-coded values"
and e9319b0cb "IB/core: Fix SDR rates in sysfs" still didn't fill in the "SDR"
string in the SDR switch case, fix that.
---
drivers/infiniband/core/sysfs.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/infiniband/core/sysfs.c b/drivers/infiniband/core/sysfs.c
index 83b720e..1611569 100644
--- a/drivers/infiniband/core/sysfs.c
+++ b/drivers/infiniband/core/sysfs.c
@@ -188,6 +188,7 @@ static ssize_t rate_show(struct ib_port *p, struct
port_attribute *unused,
switch (attr.active_speed) {
case IB_SPEED_SDR:
+ speed = " SDR";
rate = 25;
break;
case IB_SPEED_DDR:
--
1.7.1
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html