From 1543e317f1da31b75942316931e8f491a8920811 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Thu, 04 Jan 2024 10:08:02 +0000 Subject: [PATCH] disable FB --- kernel/drivers/media/radio/radio-maxiradio.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/kernel/drivers/media/radio/radio-maxiradio.c b/kernel/drivers/media/radio/radio-maxiradio.c index e4e7587..ad488ec 100644 --- a/kernel/drivers/media/radio/radio-maxiradio.c +++ b/kernel/drivers/media/radio/radio-maxiradio.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Guillemot Maxi Radio FM 2000 PCI radio card driver for Linux * (C) 2001 Dimitromanolakis Apostolos <apdim@grecian.net> @@ -142,7 +143,7 @@ dev->tea.cannot_read_data = true; dev->tea.v4l2_dev = v4l2_dev; dev->tea.radio_nr = radio_nr; - strlcpy(dev->tea.card, "Maxi Radio FM2000", sizeof(dev->tea.card)); + strscpy(dev->tea.card, "Maxi Radio FM2000", sizeof(dev->tea.card)); snprintf(dev->tea.bus_info, sizeof(dev->tea.bus_info), "PCI:%s", pci_name(pdev)); -- Gitblit v1.6.2