diff options
Diffstat (limited to 'drivers/block/cciss.c')
-rw-r--r-- | drivers/block/cciss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c index fdf1b79eb347..31064df1370a 100644 --- a/drivers/block/cciss.c +++ b/drivers/block/cciss.c | |||
@@ -379,7 +379,7 @@ static void cciss_map_sg_chain_block(ctlr_info_t *h, CommandList_struct *c, | |||
379 | static const char *raid_label[] = { "0", "4", "1(1+0)", "5", "5+1", "ADG", | 379 | static const char *raid_label[] = { "0", "4", "1(1+0)", "5", "5+1", "ADG", |
380 | "UNKNOWN" | 380 | "UNKNOWN" |
381 | }; | 381 | }; |
382 | #define RAID_UNKNOWN (sizeof(raid_label) / sizeof(raid_label[0])-1) | 382 | #define RAID_UNKNOWN (ARRAY_SIZE(raid_label)-1) |
383 | 383 | ||
384 | #ifdef CONFIG_PROC_FS | 384 | #ifdef CONFIG_PROC_FS |
385 | 385 | ||