commit | 30f55067a6dcba602797c24e020a6a9c8ba22180 | [log] [tgz] |
---|---|---|
author | Arnd Bergmann <arnd@kernel.org> | Sun Dec 13 21:43:16 2020 -0500 |
committer | Rich Felker <dalias@aerifal.cx> | Mon Dec 14 20:36:03 2020 -0500 |
tree | 0eefe900b487b62197071f658e65320c2378b098 | |
parent | db981ffb3e242e32e13520fbaf47e91ae88d5ff4 [diff] |
fix v4l2 buffer ioctl fallbacks for pre-5.6 kernels commit 2412638bb39eb799b2600393bbd71cca8ae96bb2 got the size of struct v4l2_buffer wrong and omitted the tv_usec member slot from the offset list, so the ioctl numbers never matched and fallback code path was never taken. this caused the affected ioctls to fail with ENOTTY on kernels not new enough to have the native time64 ioctls.