Skip to content

Commit

Permalink
xen-blkback: constify instance of "struct attribute_group"
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jan Beulich authored and Konrad Rzeszutek Wilk committed Jul 22, 2016
1 parent ff59532 commit 5304394
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/block/xen-blkback/xenbus.c
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ static struct attribute *xen_vbdstat_attrs[] = {
NULL
};

static struct attribute_group xen_vbdstat_group = {
static const struct attribute_group xen_vbdstat_group = {
.name = "statistics",
.attrs = xen_vbdstat_attrs,
};
Expand Down

0 comments on commit 5304394

Please sign in to comment.