summaryrefslogtreecommitdiffstats
path: root/drivers/firmware/efi/embedded-firmware.c
diff options
context:
space:
mode:
authorHoria Geantă <horia.geanta@nxp.com>2020-11-12 10:21:46 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2020-11-20 04:45:32 +0100
commit0049a1329bb9569196a551bb658500394d98ed50 (patch)
treea335e3faea7442c4efe1f41fcbad54305d013819 /drivers/firmware/efi/embedded-firmware.c
parentcrypto: arm64/gcm - move authentication tag check to SIMD domain (diff)
downloadlinux-0049a1329bb9569196a551bb658500394d98ed50.tar.xz
linux-0049a1329bb9569196a551bb658500394d98ed50.zip
crypto: caam/qi - simplify error path for context allocation
Wang Qing reports that IS_ERR_OR_NULL() should be matched with PTR_ERR_OR_ZERO(), not PTR_ERR(). As it turns out, the error path always returns an error code, i.e. NULL is never returned. Update the code accordingly - s/IS_ERR_OR_NULL/IS_ERR. Reported-by: Wang Qing <wangqing@vivo.com> Signed-off-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/firmware/efi/embedded-firmware.c')
0 files changed, 0 insertions, 0 deletions