diff options
author | Gilad Ben-Yossef <gilad@benyossef.com> | 2017-10-18 08:00:52 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-11-03 22:11:23 +0800 |
commit | aba973c69e3658e3190d8983eed7dddd3c44dd1e (patch) | |
tree | adef831ec7aa34c422be804f172d74fca107655b /scripts/ksymoops | |
parent | 591b95af3da027412be17ecbcb4dbd33990b557c (diff) | |
download | linux-aba973c69e3658e3190d8983eed7dddd3c44dd1e.tar.gz linux-aba973c69e3658e3190d8983eed7dddd3c44dd1e.tar.bz2 linux-aba973c69e3658e3190d8983eed7dddd3c44dd1e.zip |
crypto: doc - adapt api sample to use async. op wait
The code sample is waiting for an async. crypto op completion.
Adapt sample to use the new generic infrastructure to do the same.
This also fixes a possible data coruption bug created by the
use of wait_for_completion_interruptible() without dealing
correctly with an interrupt aborting the wait prior to the
async op finishing.
Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'scripts/ksymoops')
0 files changed, 0 insertions, 0 deletions