Commit e34a8ae79056e6cea4a1ac21119ee3c91f378f99
1 parent
ca5de404ff
Exists in
master
and in
4 other branches
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>
Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff
crypto/async_tx/async_xor.c
... | ... | @@ -263,11 +263,12 @@ |
263 | 263 | if (unlikely(!tx)) { |
264 | 264 | async_tx_quiesce(&depend_tx); |
265 | 265 | |
266 | - while (!tx) | |
266 | + while (!tx) { | |
267 | 267 | dma_async_issue_pending(chan); |
268 | 268 | tx = device->device_prep_dma_zero_sum(chan, |
269 | 269 | dma_src, src_cnt, len, result, |
270 | 270 | dma_prep_flags); |
271 | + } | |
271 | 272 | } |
272 | 273 | |
273 | 274 | async_tx_submit(chan, tx, flags, depend_tx, cb_fn, cb_param); |