summaryrefslogtreecommitdiffstats
path: root/drivers/s390/char/sclp_early.c
diff options
context:
space:
mode:
authorVladimir Zapolskiy <vz@mleia.com>2016-03-06 02:22:04 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2016-03-11 14:19:20 +0100
commitb62917a2622ebcb03a500ef20da47be80d8c8951 (patch)
treeda726d1f461ac632f47177d2a34000c491d0bc9f /drivers/s390/char/sclp_early.c
parentcrypto: atmel - fix checks of error code returned by devm_ioremap_resource() (diff)
downloadlinux-b62917a2622ebcb03a500ef20da47be80d8c8951.tar.xz
linux-b62917a2622ebcb03a500ef20da47be80d8c8951.zip
crypto: ux500 - fix checks of error code returned by devm_ioremap_resource()
The change fixes potential oops while accessing iomem on invalid address, if devm_ioremap_resource() fails due to some reason. The devm_ioremap_resource() function returns ERR_PTR() and never returns NULL, which makes useless a following check for NULL. Signed-off-by: Vladimir Zapolskiy <vz@mleia.com> Fixes: 5a4eea2658c93 ("crypto: ux500 - Use devm_xxx() managed function") Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/s390/char/sclp_early.c')
0 files changed, 0 insertions, 0 deletions