aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2017-10-11 13:16:43 +0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2017-10-27 14:00:11 +0200
commit3863360c15da47e18d894268ad6182fdc7caf0c7 (patch)
treeede9cbeb0c4c6a0b718426cd1aa4748eb6af8975 /tools/perf/scripts/python/netdev-times.py
parentmedia: venus: venc: fix bytesused v4l2_plane field (diff)
downloadlinux-3863360c15da47e18d894268ad6182fdc7caf0c7.tar.gz
linux-3863360c15da47e18d894268ad6182fdc7caf0c7.zip
media: vimc: Fix return value check in vimc_add_subdevs()
In case of error, the function platform_device_register_data() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Acked-by: Helen Koike <helen.koike@collabora.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions