diff options
author | Dan Williams <dan.j.williams@intel.com> | 2008-08-05 13:22:05 -0400 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2008-08-05 13:25:20 -0400 |
commit | e34a8ae79056e6cea4a1ac21119ee3c91f378f99 (patch) | |
tree | 8ff15ee52e38b2e0031e71313a01668589e6dccc /crypto/async_tx/async_xor.c | |
parent | ca5de404ff036a29b25e9a83f6919c9f606c5841 (diff) |
async_tx: fix missing braces in async_xor_zero_sum
Found-by: Yuri Tikhonov <yur@emcraft.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'crypto/async_tx/async_xor.c')
-rw-r--r-- | crypto/async_tx/async_xor.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/async_tx/async_xor.c b/crypto/async_tx/async_xor.c index 65974c6d3d7a..c029d3eb9ef0 100644 --- a/crypto/async_tx/async_xor.c +++ b/crypto/async_tx/async_xor.c | |||
@@ -263,11 +263,12 @@ async_xor_zero_sum(struct page *dest, struct page **src_list, | |||
263 | if (unlikely(!tx)) { | 263 | if (unlikely(!tx)) { |
264 | async_tx_quiesce(&depend_tx); | 264 | async_tx_quiesce(&depend_tx); |
265 | 265 | ||
266 | while (!tx) | 266 | while (!tx) { |
267 | dma_async_issue_pending(chan); | 267 | dma_async_issue_pending(chan); |
268 | tx = device->device_prep_dma_zero_sum(chan, | 268 | tx = device->device_prep_dma_zero_sum(chan, |
269 | dma_src, src_cnt, len, result, | 269 | dma_src, src_cnt, len, result, |
270 | dma_prep_flags); | 270 | dma_prep_flags); |
271 | } | ||
271 | } | 272 | } |
272 | 273 | ||
273 | async_tx_submit(chan, tx, flags, depend_tx, cb_fn, cb_param); | 274 | async_tx_submit(chan, tx, flags, depend_tx, cb_fn, cb_param); |