Skip to content

Commit

Permalink
async_tx: fix missing braces in async_xor_zero_sum
Browse files Browse the repository at this point in the history
Found-by: Yuri Tikhonov <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
  • Loading branch information
djbw committed Aug 5, 2008
1 parent ca5de40 commit e34a8ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crypto/async_tx/async_xor.c
Original file line number Diff line number Diff line change
@@ -263,11 +263,12 @@ async_xor_zero_sum(struct page *dest, struct page **src_list,
if (unlikely(!tx)) {
async_tx_quiesce(&depend_tx);

while (!tx)
while (!tx) {
dma_async_issue_pending(chan);
tx = device->device_prep_dma_zero_sum(chan,
dma_src, src_cnt, len, result,
dma_prep_flags);
}
}

async_tx_submit(chan, tx, flags, depend_tx, cb_fn, cb_param);

0 comments on commit e34a8ae

Please sign in to comment.