Date: Sun, 09 Aug 2026 18:14:27 +0000 From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 0343ab8a6afa - main - video: disable the static assertions for now Message-ID: <6a78c383.40bc3.32b0213d@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by adrian: URL: https://cgit.FreeBSD.org/src/commit/?id=0343ab8a6afaf3be5d10009e32c2351d70243972 commit 0343ab8a6afaf3be5d10009e32c2351d70243972 Author: Adrian Chadd <adrian@FreeBSD.org> AuthorDate: 2026-08-09 18:12:08 +0000 Commit: Adrian Chadd <adrian@FreeBSD.org> CommitDate: 2026-08-09 18:12:08 +0000 video: disable the static assertions for now The previous version of this work included the definitions but not the static asserts. It's tripping up in some CI builds, likely due to compat API building. Since this isn't any more or less broken than before, disable the static assertions until we figure out a proper path for this. Fixes: 9c9428825f4c55e3cb37412c661bb9d385db4c68 (video: add generic video(4) capture framework) --- sys/sys/videoio.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sys/sys/videoio.h b/sys/sys/videoio.h index f61a6ef2a018..4a49a188fa47 100644 --- a/sys/sys/videoio.h +++ b/sys/sys/videoio.h @@ -495,6 +495,11 @@ struct v4l2_frmivalenum { #define VIDIOC_ENUM_FRAMESIZES _IOWR('V', 74, struct v4l2_frmsizeenum) #define VIDIOC_ENUM_FRAMEINTERVALS _IOWR('V', 75, struct v4l2_frmivalenum) +/* + * These are commented out as there are currently some issues building + * some compatibility interfaces. + */ +#if 0 _Static_assert(sizeof(struct v4l2_pix_format) == 48, "v4l2_pix_format layout"); _Static_assert(sizeof(struct v4l2_capability) == 104, "v4l2_capability layout"); _Static_assert(sizeof(struct v4l2_requestbuffers) == 20, @@ -508,5 +513,6 @@ _Static_assert(__offsetof(struct v4l2_format, fmt) == 4, "v4l2_format layout"); _Static_assert(sizeof(struct v4l2_format) == 204, "v4l2_format layout"); _Static_assert(sizeof(struct v4l2_buffer) == 68, "v4l2_buffer layout"); #endif +#endif #endif /* _SYS_VIDEOIO_H_ */home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a78c383.40bc3.32b0213d>
