diff options
| author | 2017-11-28 00:06:06 +0100 | |
|---|---|---|
| committer | 2017-12-11 22:36:56 +1100 | |
| commit | 26d85e5f3b68f8526b516959a7dd4d1fbab00fd0 (patch) | |
| tree | 9390c2a75067d8095bcea9c302c524d53e547fbc /include/linux/errqueue.h | |
| parent | crypto: ecdh - fix typo in KPP dependency of CRYPTO_ECDH (diff) | |
crypto: arm/aes-neonbs - Use PTR_ERR_OR_ZERO()
Fix ptr_ret.cocci warnings:
arch/arm/crypto/aes-neonbs-glue.c:184:1-3: WARNING: PTR_ERR_OR_ZERO can be used
arch/arm/crypto/aes-neonbs-glue.c:261:1-3: WARNING: PTR_ERR_OR_ZERO can be used
Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR
Generated by: scripts/coccinelle/api/ptr_ret.cocci
Signed-off-by: Vasyl Gomonovych <gomonovych@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions
