aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/raid5.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/raid5.c')
-rw-r--r--drivers/md/raid5.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c
index c4366c9373c5..dcd9e659ed9d 100644
--- a/drivers/md/raid5.c
+++ b/drivers/md/raid5.c
@@ -720,7 +720,7 @@ static int set_syndrome_sources(struct page **srcs, struct stripe_head *sh)
720 int i; 720 int i;
721 721
722 for (i = 0; i < disks; i++) 722 for (i = 0; i < disks; i++)
723 srcs[i] = (void *)raid6_empty_zero_page; 723 srcs[i] = NULL;
724 724
725 count = 0; 725 count = 0;
726 i = d0_idx; 726 i = d0_idx;
@@ -816,7 +816,7 @@ ops_run_compute6_2(struct stripe_head *sh, struct raid5_percpu *percpu)
816 * slot number conversion for 'faila' and 'failb' 816 * slot number conversion for 'faila' and 'failb'
817 */ 817 */
818 for (i = 0; i < disks ; i++) 818 for (i = 0; i < disks ; i++)
819 blocks[i] = (void *)raid6_empty_zero_page; 819 blocks[i] = NULL;
820 count = 0; 820 count = 0;
821 i = d0_idx; 821 i = d0_idx;
822 do { 822 do {