projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afb6b09
)
IB/hns: Fix the IB device name
author
Lijun Ou
<oulijun@huawei.com>
Tue, 29 Nov 2016 23:10:30 +0000
(23:10 +0000)
committer
Doug Ledford
<dledford@redhat.com>
Sat, 3 Dec 2016 19:20:42 +0000
(14:20 -0500)
This patch mainly fix the name for IB device in order
to match with libhns.
Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hns/hns_roce_main.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/infiniband/hw/hns/hns_roce_main.c
b/drivers/infiniband/hw/hns/hns_roce_main.c
index 28a8f24366df65081d8286ce5908a3de4afea85f..eddb053ff0ba087978932cf5a5b7b8823a742a0f 100644
(file)
--- a/
drivers/infiniband/hw/hns/hns_roce_main.c
+++ b/
drivers/infiniband/hw/hns/hns_roce_main.c
@@
-433,7
+433,7
@@
static int hns_roce_register_device(struct hns_roce_dev *hr_dev)
spin_lock_init(&iboe->lock);
ib_dev = &hr_dev->ib_dev;
- strlcpy(ib_dev->name, "h
isi
_%d", IB_DEVICE_NAME_MAX);
+ strlcpy(ib_dev->name, "h
ns
_%d", IB_DEVICE_NAME_MAX);
ib_dev->owner = THIS_MODULE;
ib_dev->node_type = RDMA_NODE_IB_CA;