Displaying 1 result from an estimated 1 matches for "vbdstat_group".
2012 Feb 17
0
[PATCH] linux-2.6.18/drivers/xen/: constify all instances of "struct attribute_group"
...{
+static const struct attribute_group balloon_info_group = {
.name = "info",
.attrs = balloon_info_attrs,
};
--- a/drivers/xen/blkback/xenbus.c
+++ b/drivers/xen/blkback/xenbus.c
@@ -136,7 +136,7 @@ static struct attribute *vbdstat_attrs[]
NULL
};
-static struct attribute_group vbdstat_group = {
+static const struct attribute_group vbdstat_group = {
.name = "statistics",
.attrs = vbdstat_attrs,
};
--- a/drivers/xen/blktap/xenbus.c
+++ b/drivers/xen/blktap/xenbus.c
@@ -152,7 +152,7 @@ static struct attribute *tapstat_attrs[]
NULL
};
-static struct attribute_group tap...