2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-16 09:34:22 +08:00
linux-next/drivers/media/usb
Arnd Bergmann cc05c0ba23 media: pulse8-cec: print time using time64_t
The firmware timestamp is an unsigned 32-bit value, but we copy it into
a signed 32-bit variable, so we can theoretically get an overflow in
the calculation when the timestamp is between 2038 and 2106.

This changes the temporary variable to time64_t and changes the deprecated
time_to_tm() over to time64_to_tm() accordingly.

There is still an overflow in y2106, but that is a limitation of the
firmware interface, not a kernel problem.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-12-08 11:08:22 -05:00
..
airspy media: usb: make video_device const 2017-08-27 08:45:32 -04:00
as102 media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
au0828 treewide: setup_timer() -> timer_setup() 2017-11-21 15:57:07 -08:00
b2c2 media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
cpia2 media: usb: make video_device const 2017-08-27 08:45:32 -04:00
cx231xx media: cx231xx: Add support for The Imaging Source DFG/USB2pro 2017-12-08 10:35:08 -05:00
dvb-usb media: use ARRAY_SIZE 2017-12-08 10:11:00 -05:00
dvb-usb-v2 media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
em28xx media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
go7007 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
gspca media: gspca: Convert PDEBUG to gspca_dbg 2017-12-08 10:10:15 -05:00
hackrf media: usb: make video_device const 2017-08-27 08:45:32 -04:00
hdpvr media: hdpvr: Fix an error handling path in hdpvr_probe() 2017-12-08 10:06:19 -05:00
msi2500 media: usb: fix spelling mistake: "synchronuously" -> "synchronously" 2017-11-07 03:47:09 -05:00
pulse8-cec media: pulse8-cec: print time using time64_t 2017-12-08 11:08:22 -05:00
pvrusb2 media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
pwc media: drivers: remove "/**" from non-kernel-doc comments 2017-11-30 04:19:03 -05:00
rainshadow-cec media: usb: rainshadow-cec: constify serio_device_id 2017-08-20 08:27:29 -04:00
s2255 media: s2255drv: update firmware load 2017-12-08 10:43:59 -05:00
siano media: siano: get rid of documentation warnings 2017-11-27 08:40:36 -05:00
stk1160 media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
stkwebcam media: stk-webcam: Fix use after free on disconnect 2017-12-08 10:06:46 -05:00
tm6000 media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
ttusb-budget media: drivers: remove "/**" from non-kernel-doc comments 2017-11-30 04:19:03 -05:00
ttusb-dec media: usb: constify usb_device_id 2017-08-20 08:04:51 -04:00
usbtv media: usbtv: add a new usbid 2017-11-27 14:49:18 -05:00
usbvision License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
uvc Modules updates for v4.15 2017-11-15 13:46:33 -08:00
zr364xx media: drivers: Adjust checks for null pointers 2017-09-23 08:20:57 -04:00
Kconfig [media] rainshadow-cec: new RainShadow Tech HDMI CEC driver 2017-04-10 12:42:10 -03:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00