diff options
| author | Dan Carpenter <[email protected]> | 2021-06-22 16:31:53 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2021-07-22 14:01:54 +0200 |
| commit | ba7a93e507f88306d7a19a1dcb53b857b790cfb8 (patch) | |
| tree | 09da32e8b5d46177ba32deef677af2a4d3f9fcb4 /tools/perf/scripts/python/bin | |
| parent | 6f5885a7750545973bf1a942d2f0f129aef0aa06 (diff) | |
media: v4l2-subdev: fix some NULL vs IS_ERR() checks
The v4l2_subdev_alloc_state() function returns error pointers, it
doesn't return NULL.
Fixes: 0d346d2a6f54 ("media: v4l2-subdev: add subdev-wide state struct")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Acked-by: Sakari Ailus <[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')
0 files changed, 0 insertions, 0 deletions