linux-stable/drivers/media/usb/tm6000
Kees Cook 42bb98e420 media: tm6000: Avoid card name truncation
The "card" string only holds 31 characters (and the terminating NUL).
In order to avoid truncation, use a shorter card description instead of
the current result, "Trident TVMaster TM5600/6000/60".

Suggested-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Fixes: e28f49b0b2 ("V4L/DVB: tm6000: fix some info messages")
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-09-30 10:08:00 +02:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile media: prefix header search paths with $(srctree)/ 2019-05-18 11:49:56 +09:00
tm6000-alsa.c module: remove never implemented MODULE_SUPPORTED_DEVICE 2021-03-17 13:16:18 -07:00
tm6000-cards.c media: Fix various misspellings of disconnected 2019-08-19 12:02:28 -03:00
tm6000-core.c tm6000: drop unnecessary list_empty 2020-09-01 14:12:36 +02:00
tm6000-dvb.c module: remove never implemented MODULE_SUPPORTED_DEVICE 2021-03-17 13:16:18 -07:00
tm6000-i2c.c media: usb: fix several typos 2019-03-01 09:43:27 -05:00
tm6000-input.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 286 2019-06-05 17:36:37 +02:00
tm6000-regs.h media: usb: tm6000: Use the correct style for SPDX License Identifier 2019-10-07 07:45:38 -03:00
tm6000-stds.c media: usb: fix several typos 2019-03-01 09:43:27 -05:00
tm6000-usb-isoc.h media: usb: tm6000: Use the correct style for SPDX License Identifier 2019-10-07 07:45:38 -03:00
tm6000-video.c media: tm6000: Avoid card name truncation 2021-09-30 10:08:00 +02:00
tm6000.h media: usb: tm6000: Use the correct style for SPDX License Identifier 2019-10-07 07:45:38 -03:00