Message ID | 4B99A7B9.3000802@kernel.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Index: linux-2.6/drivers/infiniband/core/sysfs.c =================================================================== --- linux-2.6.orig/drivers/infiniband/core/sysfs.c +++ linux-2.6/drivers/infiniband/core/sysfs.c @@ -461,6 +461,7 @@ alloc_group_attrs(ssize_t (*show)(struct element->attr.attr.mode = S_IRUGO; element->attr.show = show; element->index = i; + sysfs_attr_init(&element->attr.attr); tab_attr[i] = &element->attr.attr; }