Searched hist:"31 f32a21" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/gpu/drm/sti/ |
H A D | sti_tvout.c | 31f32a21 Tue Aug 26 05:17:36 CDT 2014 Wei Yongjun <yongjun_wei@trendmicro.com.cn> drm: sti: tvout: fix return value check in sti_tvout_probe()
In case of error, the function devm_ioremap_nocache() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> 31f32a21 Tue Aug 26 05:17:36 CDT 2014 Wei Yongjun <yongjun_wei@trendmicro.com.cn> drm: sti: tvout: fix return value check in sti_tvout_probe() In case of error, the function devm_ioremap_nocache() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
|