aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorVladimir Zapolskiy <[email protected]>2016-03-06 01:21:52 +0000
committerHerbert Xu <[email protected]>2016-03-11 13:19:19 +0000
commit9b52d55f4f0e2bb9a34abbcf99e05e17f1b3b281 (patch)
tree405dc4efa814dc0e2e32d43558d155e9446d0de4 /fs/jbd2/commit.c
parentcrypto: qat - Change the definition of icp_qat_uof_regtype (diff)
downloadkernel-9b52d55f4f0e2bb9a34abbcf99e05e17f1b3b281.tar.gz
kernel-9b52d55f4f0e2bb9a34abbcf99e05e17f1b3b281.zip
crypto: atmel - 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 <[email protected]> Fixes: b0e8b3417a62 ("crypto: atmel - use devm_xxx() managed function") Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions