projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec8670f
)
ioat: fix 'ack' handling, driver must ensure that 'ack' is zero
author
Dan Williams
<
[email protected]
>
Sat, 1 Mar 2008 14:52:14 +0000
(07:52 -0700)
committer
Dan Williams
<
[email protected]
>
Tue, 4 Mar 2008 17:16:46 +0000
(10:16 -0700)
Initialize 'ack' to zero in case the descriptor has been recycled.
Prevents "kernel BUG at crypto/async_tx/async_xor.c:185!"
Signed-off-by: Dan Williams <
[email protected]
>
Acked-by: Shannon Nelson <
[email protected]
>
Cc:
[email protected]
drivers/dma/ioat_dma.c
patch
|
blob
|
history
diff --git
a/drivers/dma/ioat_dma.c
b/drivers/dma/ioat_dma.c
index dff38accc5c1df47193a73b4fb81e467012d80b6..4017d9e7acd2a2b68020e2584c71dc654dd20cae 100644
(file)
--- a/
drivers/dma/ioat_dma.c
+++ b/
drivers/dma/ioat_dma.c
@@
-714,6
+714,7
@@
static struct dma_async_tx_descriptor *ioat1_dma_prep_memcpy(
new->len = len;
new->dst = dma_dest;
new->src = dma_src;
+ new->async_tx.ack = 0;
return &new->async_tx;
} else
return NULL;
@@
-741,6
+742,7
@@
static struct dma_async_tx_descriptor *ioat2_dma_prep_memcpy(
new->len = len;
new->dst = dma_dest;
new->src = dma_src;
+ new->async_tx.ack = 0;
return &new->async_tx;
} else
return NULL;