Commit e34a8ae7 authored by Dan Williams's avatar Dan Williams

async_tx: fix missing braces in async_xor_zero_sum

Found-by: default avatarYuri Tikhonov <yur@emcraft.com>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent ca5de404
...@@ -263,12 +263,13 @@ async_xor_zero_sum(struct page *dest, struct page **src_list, ...@@ -263,12 +263,13 @@ async_xor_zero_sum(struct page *dest, struct page **src_list,
if (unlikely(!tx)) { if (unlikely(!tx)) {
async_tx_quiesce(&depend_tx); async_tx_quiesce(&depend_tx);
while (!tx) while (!tx) {
dma_async_issue_pending(chan); dma_async_issue_pending(chan);
tx = device->device_prep_dma_zero_sum(chan, tx = device->device_prep_dma_zero_sum(chan,
dma_src, src_cnt, len, result, dma_src, src_cnt, len, result,
dma_prep_flags); dma_prep_flags);
} }
}
async_tx_submit(chan, tx, flags, depend_tx, cb_fn, cb_param); async_tx_submit(chan, tx, flags, depend_tx, cb_fn, cb_param);
} else { } else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment