diff options
author | Giovanni Cabiddu <giovanni.cabiddu@intel.com> | 2020-10-12 21:38:43 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-10-30 17:34:59 +1100 |
commit | 48710b1f31aef65918cb4396da530ad6ba00cd32 (patch) | |
tree | 975b8fffb0cd2fe0c4562ec4f6e5a7deaf88adcd /lib/irq_poll.c | |
parent | 69d0fc22cf91c9488fcc6e6095b70e3f228ad580 (diff) |
crypto: qat - change return value in adf_cfg_key_val_get()
If a key is not found in the internal key value storage, return -ENODATA
instead of -1 that is treated as -EPERM and may confuse.
Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/irq_poll.c')
0 files changed, 0 insertions, 0 deletions