projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dmaengine: ioatdma: fix u16 overflow in reshape
[cascardo/linux.git]
/
drivers
/
dma
/
ioat
/
dma_v2.c
diff --git
a/drivers/dma/ioat/dma_v2.c
b/drivers/dma/ioat/dma_v2.c
index
69c7dfc
..
13fbd9d
100644
(file)
--- a/
drivers/dma/ioat/dma_v2.c
+++ b/
drivers/dma/ioat/dma_v2.c
@@
-588,7
+588,7
@@
bool reshape_ring(struct ioat2_dma_chan *ioat, int order)
const u16 active = ioat2_ring_active(ioat);
const u32 new_size = 1 << order;
struct ioat_ring_ent **ring;
- u
16
i;
+ u
32
i;
if (order > ioat_get_max_alloc_order())
return false;