diff options
Diffstat (limited to 'drivers/dma/ioat/dma_v2.c')
-rw-r--r-- | drivers/dma/ioat/dma_v2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dma/ioat/dma_v2.c b/drivers/dma/ioat/dma_v2.c index cb8864d45601..143cb1b3cb26 100644 --- a/drivers/dma/ioat/dma_v2.c +++ b/drivers/dma/ioat/dma_v2.c | |||
@@ -575,9 +575,9 @@ bool reshape_ring(struct ioat2_dma_chan *ioat, int order) | |||
575 | */ | 575 | */ |
576 | struct ioat_chan_common *chan = &ioat->base; | 576 | struct ioat_chan_common *chan = &ioat->base; |
577 | struct dma_chan *c = &chan->common; | 577 | struct dma_chan *c = &chan->common; |
578 | const u16 curr_size = ioat2_ring_size(ioat); | 578 | const u32 curr_size = ioat2_ring_size(ioat); |
579 | const u16 active = ioat2_ring_active(ioat); | 579 | const u16 active = ioat2_ring_active(ioat); |
580 | const u16 new_size = 1 << order; | 580 | const u32 new_size = 1 << order; |
581 | struct ioat_ring_ent **ring; | 581 | struct ioat_ring_ent **ring; |
582 | u16 i; | 582 | u16 i; |
583 | 583 | ||