diff options
| author | Hans Verkuil <[email protected]> | 2014-09-22 11:08:55 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2014-10-28 16:32:52 -0200 |
| commit | 7a7f1ab37dc8f66cf0ef10f3d3f1b79ac4bc67fc (patch) | |
| tree | 43f8f442b3cbe747bccbbd4a31266b8b68f512a7 /tools/perf/scripts/python | |
| parent | f9cc70bfa4ab40b95aa49e9e7e4bb166364d07e6 (diff) | |
[media] v4l2-ctrls: fix sparse warning
The warning is simple:
drivers/media/v4l2-core/v4l2-ctrls.c:1685:15: warning: incorrect type in assignment (different address spaces)
but the fix isn't.
The core problem was that the conversion from user to kernelspace was
done at too low a level and that needed to be moved up. That made it possible
to drop pointers to v4l2_ext_control from set_ctrl and validate_new and
clean up this sparse warning because those functions now always operate
on kernelspace pointers.
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions