aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2018-01-05 01:41:01 +0000
committerStephen Boyd <[email protected]>2018-01-27 00:22:48 +0000
commitaccf475a5ece972af58c81e0742035ed90ad41d2 (patch)
treebda97d685702c283211fd7d7113df427811eacfe /fs/jbd2/commit.c
parentclk: aspeed: Add reset controller (diff)
downloadkernel-accf475a5ece972af58c81e0742035ed90ad41d2.tar.gz
kernel-accf475a5ece972af58c81e0742035ed90ad41d2.zip
clk: aspeed: Fix return value check in aspeed_cc_init()
In case of error, the function of_iomap() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Fixes: a2e230c7b2ea ("clk: Add clock driver for ASPEED BMC SoCs") Signed-off-by: Wei Yongjun <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions