lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <47136825.9010101@kapsi.fi>
Date:	Mon, 15 Oct 2007 16:16:21 +0300
From:	Pekka Seppänen <pexu@...si.fi>
To:	Linux and Kernel Video <video4linux-list@...hat.com>
Cc:	linux-kernel@...r.kernel.org,
	Mauro Carvalho Chehab <mchehab@...radead.org>,
	Douglas Schilling Landgraf <dougsland@...il.com>,
	Trent Piepho <xyzzy@...akeasy.org>, Ingo Molnar <mingo@...e.hu>
Subject: [PATCH] radio-gemtek: fix 'VID_HARDWARE_GEMTEK' undeclared

Remove obsolete V4L v1 reference.

Signed-off-by: Pekka Seppänen <pexu@...si.fi>
---

Ingo Molnar wrote:
> randconfig testing of latest -git found this build bug:
> 
> drivers/media/radio/radio-gemtek.c:557: error: 'VID_HARDWARE_GEMTEK' undeclared here (not in a function)
> 
> config attached.

.hardware = VID_HARDWARE_GEMTEK was from pre-V4L2 era module. My bad, sorry folks.

diff -up v4l-dvb/linux/drivers/media/radio/radio-gemtek.c{.orig,}
--- v4l-dvb/linux/drivers/media/radio/radio-gemtek.c.orig       2007-10-15 15:52:38.000000000 +0300
+++ v4l-dvb/linux/drivers/media/radio/radio-gemtek.c    2007-10-15 15:52:53.000000000 +0300
@@ -555,7 +555,6 @@ static struct video_device gemtek_radio
        .owner                  = THIS_MODULE,
        .name                   = "GemTek Radio card",
        .type                   = VID_TYPE_TUNER,
-       .hardware               = VID_HARDWARE_GEMTEK,
        .fops                   = &gemtek_fops,
        .vidioc_querycap        = vidioc_querycap,
        .vidioc_g_tuner         = vidioc_g_tuner,
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ