diff options
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/cciss.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c index 55c3237fb1bc..2023d61d5458 100644 --- a/drivers/block/cciss.c +++ b/drivers/block/cciss.c | |||
@@ -2570,6 +2570,7 @@ static void do_cciss_request(struct request_queue *q) | |||
2570 | (int)creq->nr_sectors); | 2570 | (int)creq->nr_sectors); |
2571 | #endif /* CCISS_DEBUG */ | 2571 | #endif /* CCISS_DEBUG */ |
2572 | 2572 | ||
2573 | memset(tmp_sg, 0, sizeof(tmp_sg)); | ||
2573 | seg = blk_rq_map_sg(q, creq, tmp_sg); | 2574 | seg = blk_rq_map_sg(q, creq, tmp_sg); |
2574 | 2575 | ||
2575 | /* get the DMA records for the setup */ | 2576 | /* get the DMA records for the setup */ |