diff options
Diffstat (limited to 'fs/partitions/check.c')
-rw-r--r-- | fs/partitions/check.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/partitions/check.c b/fs/partitions/check.c index ea4e6cb29e13..f38fee0311a7 100644 --- a/fs/partitions/check.c +++ b/fs/partitions/check.c | |||
@@ -302,7 +302,7 @@ static struct attribute_group part_attr_group = { | |||
302 | .attrs = part_attrs, | 302 | .attrs = part_attrs, |
303 | }; | 303 | }; |
304 | 304 | ||
305 | static struct attribute_group *part_attr_groups[] = { | 305 | static const struct attribute_group *part_attr_groups[] = { |
306 | &part_attr_group, | 306 | &part_attr_group, |
307 | #ifdef CONFIG_BLK_DEV_IO_TRACE | 307 | #ifdef CONFIG_BLK_DEV_IO_TRACE |
308 | &blk_trace_attr_group, | 308 | &blk_trace_attr_group, |
@@ -571,7 +571,7 @@ try_scan: | |||
571 | } | 571 | } |
572 | 572 | ||
573 | if (from + size > get_capacity(disk)) { | 573 | if (from + size > get_capacity(disk)) { |
574 | struct block_device_operations *bdops = disk->fops; | 574 | const struct block_device_operations *bdops = disk->fops; |
575 | unsigned long long capacity; | 575 | unsigned long long capacity; |
576 | 576 | ||
577 | printk(KERN_WARNING | 577 | printk(KERN_WARNING |