This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/v4l-utils.git tree:

Subject: v4l2-compliance: mark non-NULL priv as an error.
Author:  Hans Verkuil <[email protected]>
Date:    Mon Oct 1 10:38:38 2012 +0200

Although the spec allows the priv field of v4l2_pix_format to be non-NULL,
in practice this is almost certainly an error. There should be no reason for
drivers to actually use this field.

We probably should look at changing the spec, possibly freeing up at least one
field for other use.

Signed-off-by: Hans Verkuil <[email protected]>
(cherry picked from commit 07c8a902194ed64ca34e17e5a061a5976750815f)

Signed-off-by: Gregor Jasny <[email protected]>

 utils/v4l2-compliance/v4l2-test-formats.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

---

http://git.linuxtv.org/v4l-utils.git?a=commitdiff;h=1b8378d40cc60a2930275999594f47d75e15e56f

diff --git a/utils/v4l2-compliance/v4l2-test-formats.cpp 
b/utils/v4l2-compliance/v4l2-test-formats.cpp
index 477bc4d..73c0f6a 100644
--- a/utils/v4l2-compliance/v4l2-test-formats.cpp
+++ b/utils/v4l2-compliance/v4l2-test-formats.cpp
@@ -386,7 +386,7 @@ static int testFormatsType(struct node *node, int ret,  
unsigned type, struct v4
                fail_on_test(!pix.colorspace);
                fail_on_test(pix.field == V4L2_FIELD_ANY);
                if (pix.priv)
-                       warn("priv is non-zero!\n");
+                       return fail("priv is non-zero!\n");
                break;
        case V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE:
        case V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE:

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to