diff options
| author | Hans Verkuil <[email protected]> | 2018-10-29 06:15:31 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2018-11-23 06:06:03 -0500 |
| commit | 701f49bc028edb19ffccd101997dd84f0d71e279 (patch) | |
| tree | a4dfcccd528e4f734bd139b43d8403296d8fd5b1 /tools/perf/scripts/python/netdev-times.py | |
| parent | da411ab10cc13dde4673608142cbd8c290505235 (diff) | |
media: vivid: fix error handling of kthread_run
kthread_run returns an error pointer, but elsewhere in the code
dev->kthread_vid_cap/out is checked against NULL.
If kthread_run returns an error, then set the pointer to NULL.
I chose this method over changing all kthread_vid_cap/out tests
elsewhere since this is more robust.
Signed-off-by: Hans Verkuil <[email protected]>
Reported-by: [email protected]
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions