aboutsummaryrefslogtreecommitdiffstats
path: root/fs/partitions
diff options
context:
space:
mode:
Diffstat (limited to 'fs/partitions')
-rw-r--r--fs/partitions/check.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/partitions/check.c b/fs/partitions/check.c
index 619ba99dfe39..7b685e10cbad 100644
--- a/fs/partitions/check.c
+++ b/fs/partitions/check.c
@@ -312,7 +312,7 @@ static struct attribute_group part_attr_group = {
312 .attrs = part_attrs, 312 .attrs = part_attrs,
313}; 313};
314 314
315static struct attribute_group *part_attr_groups[] = { 315static const struct attribute_group *part_attr_groups[] = {
316 &part_attr_group, 316 &part_attr_group,
317#ifdef CONFIG_BLK_DEV_IO_TRACE 317#ifdef CONFIG_BLK_DEV_IO_TRACE
318 &blk_trace_attr_group, 318 &blk_trace_attr_group,
@@ -581,7 +581,7 @@ try_scan:
581 } 581 }
582 582
583 if (from + size > get_capacity(disk)) { 583 if (from + size > get_capacity(disk)) {
584 struct block_device_operations *bdops = disk->fops; 584 const struct block_device_operations *bdops = disk->fops;
585 unsigned long long capacity; 585 unsigned long long capacity;
586 586
587 printk(KERN_WARNING 587 printk(KERN_WARNING