diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2007-07-19 04:53:36 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-07-20 17:35:53 -0300 |
commit | a46c5fbc6912c4e34cb7ded314249b639dc244a6 (patch) | |
tree | bc247e83bf5da2c0c89dae099e1a75361c9d1ec7 /net/rxrpc | |
parent | 3d58ffe2aa107df6db57f875dba5368960b17cde (diff) |
V4L/DVB (5869): Add check for valid control ID to v4l2_ctrl_next.
If v4l2_ctrl_next is called without the V4L2_CTRL_FLAG_NEXT_CTRL then it
should check whether the passed control ID is valid and return 0 if it
isn't. Otherwise a for-loop over the control IDs will never end.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'net/rxrpc')
0 files changed, 0 insertions, 0 deletions