projects
/
cascardo
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff59532
)
xen-blkback: constify instance of "struct attribute_group"
author
Jan Beulich
<JBeulich@suse.com>
Thu, 7 Jul 2016 07:38:58 +0000
(
01:38
-0600)
committer
Konrad Rzeszutek Wilk
<konrad.wilk@oracle.com>
Fri, 22 Jul 2016 12:23:52 +0000
(08:23 -0400)
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>
drivers/block/xen-blkback/xenbus.c
patch
|
blob
|
history
diff --git
a/drivers/block/xen-blkback/xenbus.c
b/drivers/block/xen-blkback/xenbus.c
index
bf09ffe
..
b44eaf4
100644
(file)
--- a/
drivers/block/xen-blkback/xenbus.c
+++ b/
drivers/block/xen-blkback/xenbus.c
@@
-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,
};