Re: test VIDIOC_G/S_PARM: FAIL on stable 4.14, 4.9 and 4.4

From: Hans Verkuil
Date: Mon May 13 2019 - 09:40:09 EST


On 5/13/19 3:32 PM, Naresh Kamboju wrote:
> Do you see test VIDIOC_G/S_PARM: FAIL on stable 4.14, 4.9 and 4.4
> kernel branches ?

Probably related to commit 8a7c5594c0202 (media: v4l2-ioctl: clear fields in s_parm).

Regards,

Hans

>
> test VIDIOC_ENUM_FMT/FRAMESIZES/FRAMEINTERVALS: OK
> fail: ../../../v4l-utils-1.16.0/utils/v4l2-compliance/v4l2-test-formats.cpp(1132):
> reserved not zeroed
> test VIDIOC_G/S_PARM: FAIL
>
> Test passes on mainline, -next, 5.0 and 4.19
> Test failed on 4.14, 4.9 and 4.4
>
> steps to reproduce:
> # boot any 4.9/4.14 kernel on x86_64 / Juno / hikey device
> # install v4l-utils package
> # modprobe vivid.ko no_error_inj=1
> # v4l2-compliance -v -d /dev/video0
>
> Full test log,
> https://lkft.validation.linaro.org/scheduler/job/708755#L1791
>
> Test results comparison on all branches,
> https://qa-reports.linaro.org/_/comparetest/?project=22&project=6&project=58&project=135&project=40&project=23&project=159&suite=v4l2-compliance&test=VIDIOC_G-S_PARM
>
> Best Regards
> Naresh Kamboju
>