Re: [PATCH v6 1/8] media: documentation: fix video_event description

From: Mauro Carvalho Chehab
Date: Mon Dec 16 2019 - 10:21:32 EST


Em Mon, 16 Dec 2019 15:14:59 +0100
Arnd Bergmann <arnd@xxxxxxxx> escreveu:

> The type for the timestamp in video_event was changed to
> 'long' a long time ago, change the documentation to match.
>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

This patch seems fine for me. Even if the other patches need a v7,
let's apply this one and remove it from any future re-spin of this
(if ever needed).

> ---
> Documentation/media/uapi/dvb/video-get-event.rst | 2 +-
> Documentation/media/uapi/dvb/video_types.rst | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/media/uapi/dvb/video-get-event.rst b/Documentation/media/uapi/dvb/video-get-event.rst
> index def6c40db601..7f03fbe3d3b0 100644
> --- a/Documentation/media/uapi/dvb/video-get-event.rst
> +++ b/Documentation/media/uapi/dvb/video-get-event.rst
> @@ -81,7 +81,7 @@ for this ioctl call.
> #define VIDEO_EVENT_FRAME_RATE_CHANGED 2
> #define VIDEO_EVENT_DECODER_STOPPED 3
> #define VIDEO_EVENT_VSYNC 4
> - __kernel_time_t timestamp;
> + long timestamp;
> union {
> video_size_t size;
> unsigned int frame_rate; /* in frames per 1000sec */
> diff --git a/Documentation/media/uapi/dvb/video_types.rst b/Documentation/media/uapi/dvb/video_types.rst
> index 479942ce6fb8..2697400ccf62 100644
> --- a/Documentation/media/uapi/dvb/video_types.rst
> +++ b/Documentation/media/uapi/dvb/video_types.rst
> @@ -170,7 +170,7 @@ VIDEO_GET_EVENT call.
> #define VIDEO_EVENT_FRAME_RATE_CHANGED 2
> #define VIDEO_EVENT_DECODER_STOPPED 3
> #define VIDEO_EVENT_VSYNC 4
> - __kernel_time_t timestamp;
> + long timestamp;
> union {
> video_size_t size;
> unsigned int frame_rate; /* in frames per 1000sec */




Cheers,
Mauro