diff options
| author | Wei Yongjun <[email protected]> | 2017-10-11 13:16:43 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2017-10-27 14:00:11 +0200 |
| commit | 3863360c15da47e18d894268ad6182fdc7caf0c7 (patch) | |
| tree | ede9cbeb0c4c6a0b718426cd1aa4748eb6af8975 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 5232c37ce244db04fd50d160b92e40d2df46a2e9 (diff) | |
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 <[email protected]>
Acked-by: Helen Koike <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions