aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/md/bcache/sysfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/bcache/sysfs.c b/drivers/md/bcache/sysfs.c
index f0faaeaec57f..150cf4f4cf74 100644
--- a/drivers/md/bcache/sysfs.c
+++ b/drivers/md/bcache/sysfs.c
@@ -150,7 +150,7 @@ SHOW(__bch_cached_dev)
150{ 150{
151 struct cached_dev *dc = container_of(kobj, struct cached_dev, 151 struct cached_dev *dc = container_of(kobj, struct cached_dev,
152 disk.kobj); 152 disk.kobj);
153 const char *states[] = { "no cache", "clean", "dirty", "inconsistent" }; 153 char const *states[] = { "no cache", "clean", "dirty", "inconsistent" };
154 int wb = dc->writeback_running; 154 int wb = dc->writeback_running;
155 155
156#define var(stat) (dc->stat) 156#define var(stat) (dc->stat)