diff options
author | Kees Cook <keescook@chromium.org> | 2021-08-03 21:46:09 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-09-30 10:08:00 +0200 |
commit | 2908249f3878a591f7918368fdf0b7b0a6c3158c (patch) | |
tree | 48ffd4be315168aeb058722db2672d44b47fac08 /drivers/media/radio/radio-terratec.c | |
parent | media: radio-wl1273: Avoid card name truncation (diff) | |
download | linux-2908249f3878a591f7918368fdf0b7b0a6c3158c.tar.xz linux-2908249f3878a591f7918368fdf0b7b0a6c3158c.zip |
media: si470x: 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, "Silicon Labs Si470x FM Radio Re".
Suggested-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Fixes: 78656acdcf48 ("V4L/DVB (7038): USB radio driver for Silicon Labs Si470x FM Radio Receivers")
Fixes: cc35bbddfe10 ("V4L/DVB (12416): radio-si470x: add i2c driver for si470x")
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>
Diffstat (limited to 'drivers/media/radio/radio-terratec.c')
0 files changed, 0 insertions, 0 deletions