Re: [RFC][PATCH 09/10] v4l: Export enums used by tracepoints to user space

Xie XiuQi
2015-03-28T13:00:45Z

On 2015/3/28 5:37, Steven Rostedt wrote:

> #define show_field(field) \
> - __print_symbolic(field, \
> - { V4L2_FIELD_ANY, "ANY" }, \
> - { V4L2_FIELD_NONE, "NONE" }, \
> - { V4L2_FIELD_TOP, "TOP" }, \
> - { V4L2_FIELD_BOTTOM, "BOTTOM" }, \
> - { V4L2_FIELD_INTERLACED, "INTERLACED" }, \
> - { V4L2_FIELD_SEQ_TB, "SEQ_TB" }, \
> - { V4L2_FIELD_SEQ_BT, "SEQ_BT" }, \
> - { V4L2_FIELD_ALTERNATE, "ALTERNATE" }, \
> - { V4L2_FIELD_INTERLACED_TB, "INTERLACED_TB" }, \
> - { V4L2_FIELD_INTERLACED_BT, "INTERLACED_BT" })
> + __print_symbolic(field, SHOW_FIELD

Hi Steve,

It is missing a right bracket ')' here.

Thanks,
Xie XiuQi

> +
> +#define SHOW_FIELD \
> + EM( V4L2_FIELD_ANY, "ANY" ) \
> + EM( V4L2_FIELD_NONE, "NONE" ) \
> + EM( V4L2_FIELD_TOP, "TOP" ) \