diff options
Diffstat (limited to 'drivers/md/dm-flakey.c')
-rw-r--r-- | drivers/md/dm-flakey.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/dm-flakey.c b/drivers/md/dm-flakey.c index 7146c2d9762d..b82cb1ab1eaa 100644 --- a/drivers/md/dm-flakey.c +++ b/drivers/md/dm-flakey.c | |||
@@ -51,7 +51,7 @@ static int parse_features(struct dm_arg_set *as, struct flakey_c *fc, | |||
51 | unsigned argc; | 51 | unsigned argc; |
52 | const char *arg_name; | 52 | const char *arg_name; |
53 | 53 | ||
54 | static struct dm_arg _args[] = { | 54 | static const struct dm_arg _args[] = { |
55 | {0, 6, "Invalid number of feature args"}, | 55 | {0, 6, "Invalid number of feature args"}, |
56 | {1, UINT_MAX, "Invalid corrupt bio byte"}, | 56 | {1, UINT_MAX, "Invalid corrupt bio byte"}, |
57 | {0, 255, "Invalid corrupt value to write into bio byte (0-255)"}, | 57 | {0, 255, "Invalid corrupt value to write into bio byte (0-255)"}, |
@@ -178,7 +178,7 @@ static int parse_features(struct dm_arg_set *as, struct flakey_c *fc, | |||
178 | */ | 178 | */ |
179 | static int flakey_ctr(struct dm_target *ti, unsigned int argc, char **argv) | 179 | static int flakey_ctr(struct dm_target *ti, unsigned int argc, char **argv) |
180 | { | 180 | { |
181 | static struct dm_arg _args[] = { | 181 | static const struct dm_arg _args[] = { |
182 | {0, UINT_MAX, "Invalid up interval"}, | 182 | {0, UINT_MAX, "Invalid up interval"}, |
183 | {0, UINT_MAX, "Invalid down interval"}, | 183 | {0, UINT_MAX, "Invalid down interval"}, |
184 | }; | 184 | }; |