diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-10-30 00:15:13 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-12-10 06:36:21 -0200 |
commit | b68231a1b5e95a532f4d5135cdbd0fe6b0bfcb3b (patch) | |
tree | 4c2c0cb242a0a53eece03f5d50fa9d01367fb82d /drivers/media/dvb-core/dvb-usb-ids.h | |
parent | 6676cafe6bb69898cdb94937651249d0999e4b59 (diff) |
[media] v4l: ti-vpe: fix return value check in vpe_probe()
In case of error, the function devm_kzalloc() and devm_ioremap()
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>
Reviewed-by: Archit Taneja <archit@ti.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/dvb-core/dvb-usb-ids.h')
0 files changed, 0 insertions, 0 deletions