Hi, On 15/09/2021 19:10, Jacopo Mondi wrote:
+#define V4L2_SUBDEV_ROUTE_FL_ACTIVE BIT(0)Am I wrong or BIT() is not available to userspace ? ../../include/linux/v4l2-subdev.h:209:38: error: ‘BIT’ was not declared in this scope 209 | #define V4L2_SUBDEV_ROUTE_FL_ACTIVE BIT(0) Header was exported with headers_install.
Yes, I think you are correct. I see only two other BIT() uses in uapi headers, and those might be errors too.
Tomi