Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Upgrade to 4.4.50-rt62
[kvmfornfv.git]
/
kernel
/
crypto
/
async_tx
/
async_pq.c
diff --git
a/kernel/crypto/async_tx/async_pq.c
b/kernel/crypto/async_tx/async_pq.c
index
c0748bb
..
84f8d4d
100644
(file)
--- a/
kernel/crypto/async_tx/async_pq.c
+++ b/
kernel/crypto/async_tx/async_pq.c
@@
-368,8
+368,6
@@
async_syndrome_val(struct page **blocks, unsigned int offset, int disks,
dma_set_unmap(tx, unmap);
async_tx_submit(chan, tx, submit);
dma_set_unmap(tx, unmap);
async_tx_submit(chan, tx, submit);
-
- return tx;
} else {
struct page *p_src = P(blocks, disks);
struct page *q_src = Q(blocks, disks);
} else {
struct page *p_src = P(blocks, disks);
struct page *q_src = Q(blocks, disks);
@@
-424,9
+422,11
@@
async_syndrome_val(struct page **blocks, unsigned int offset, int disks,
submit->cb_param = cb_param_orig;
submit->flags = flags_orig;
async_tx_sync_epilog(submit);
submit->cb_param = cb_param_orig;
submit->flags = flags_orig;
async_tx_sync_epilog(submit);
-
- return NULL;
+ tx = NULL;
}
}
+ dmaengine_unmap_put(unmap);
+
+ return tx;
}
EXPORT_SYMBOL_GPL(async_syndrome_val);
}
EXPORT_SYMBOL_GPL(async_syndrome_val);