projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'rdma-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland...
[profile/ivi/kernel-x86-ivi.git]
/
drivers
/
infiniband
/
core
/
sysfs.c
diff --git
a/drivers/infiniband/core/sysfs.c
b/drivers/infiniband/core/sysfs.c
index
d9b78c4
..
cde1e7b
100644
(file)
--- a/
drivers/infiniband/core/sysfs.c
+++ b/
drivers/infiniband/core/sysfs.c
@@
-817,7
+817,7
@@
int ib_device_register_sysfs(struct ib_device *device,
class_dev->class = &ib_class;
class_dev->parent = device->dma_device;
- dev_set_name(class_dev, device->name);
+ dev_set_name(class_dev,
"%s",
device->name);
dev_set_drvdata(class_dev, device);
INIT_LIST_HEAD(&device->port_list);