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: Jens Axboe <axboe@kernel.dk> Acked-by: Roger Pau Monné <roger.pau@citrix.com> Signed-off-by: Jan Beulich <jbeulich@suse.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
This commit is contained in:
committed by
Konrad Rzeszutek Wilk
parent
ff595325ed
commit
530439484d
@ -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,
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user