提交 53043948 编写于 作者: J Jan Beulich 提交者: Konrad Rzeszutek Wilk

xen-blkback: constify instance of "struct attribute_group"

The functions these get passed to have been taking pointers to const
since at least 2.6.16.
Acked-by: NJens Axboe <axboe@kernel.dk>
Acked-by: NRoger Pau Monné <roger.pau@citrix.com>
Signed-off-by: NJan Beulich <jbeulich@suse.com>
Signed-off-by: NKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
上级 ff595325
...@@ -379,7 +379,7 @@ static struct attribute *xen_vbdstat_attrs[] = { ...@@ -379,7 +379,7 @@ static struct attribute *xen_vbdstat_attrs[] = {
NULL NULL
}; };
static struct attribute_group xen_vbdstat_group = { static const struct attribute_group xen_vbdstat_group = {
.name = "statistics", .name = "statistics",
.attrs = xen_vbdstat_attrs, .attrs = xen_vbdstat_attrs,
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册