linux-stable/include/uapi/linux/dvb
Arnd Bergmann d320695add [media] dvb: don't use 'time_t' in event ioctl
'struct video_event' is used for the VIDEO_GET_EVENT ioctl, implemented
by drivers/media/pci/ivtv/ivtv-ioctl.c and
drivers/media/pci/ttpci/av7110_av.c. The structure contains a 'time_t',
which will be redefined in the future to be 64-bit wide, causing an
incompatible ABI change for this ioctl.

As it turns out, neither of the drivers currently sets the timestamp
field, and it is presumably useless anyway because of the limited
resolutions (no sub-second times). This means we can simply change
the structure definition to use a 'long' instead of 'time_t' and
remain compatible with all existing user space binaries when time_t
gets changed.

If anybody ever starts using this field, they have to make sure not
to use 1970 based seconds in there, as those overflow in 2038.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-06-20 11:27:01 -03:00
..
audio.h
ca.h
dmx.h [media] DocBook: Change format for enum dmx_output documentation 2015-06-09 17:47:38 -03:00
frontend.h [media] dvb: frontend.h: add a note for the deprecated enums/structs 2015-06-09 17:47:37 -03:00
net.h
osd.h
version.h [media] dvb: Add DVBv5 statistics properties 2013-01-23 19:06:33 -02:00
video.h [media] dvb: don't use 'time_t' in event ioctl 2017-06-20 11:27:01 -03:00