This series add tests for this new field and VIDIOC_REMOVE_BUFS ioctl. version 9: - Add tests to check return values when count = 0. - Add tests to check return values when attempt to remove again buffers. - Call fail_on_test(q.reqbufs(node, 0)) at the end of the test. - Do not print WARN if REMOVE_BUFS ioctl isn't supported - Stop testing if CREATE_BUFS is supported. version 8: - Rename structures, function and variables to use 'remove' instead of 'delete. version 7: - Remove "v4l2-compliance: Test queue maximum buffers allocation" patches because they have been merged. - Remove V4L2_BUF_CAP_SUPPORTS_DELETE_BUFS to be aligned with the v18 of the kernel patches - v4l_queue_querybufs() take care of a range of buffers. Benjamin Gaignard (2): v4l2-utils: Add VIDIOC_REMOVE_BUFS ioctl v4l2-compliance: Add a test for REMOVE_BUFS ioctl include/linux/videodev2.h | 16 +++ utils/common/cv4l-helpers.h | 4 + utils/common/v4l-helpers.h | 27 ++++- utils/v4l2-compliance/v4l2-compliance.cpp | 1 + utils/v4l2-compliance/v4l2-compliance.h | 1 + utils/v4l2-compliance/v4l2-test-buffers.cpp | 118 ++++++++++++++++++++ 6 files changed, 162 insertions(+), 5 deletions(-) -- 2.40.1