From: Mauro Carvalho Chehab <mchehab@redhat.com>
To: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Cc: linux-kernel@vger.kernel.org,
Mauro Carvalho Chehab <mchehab@infradead.org>,
linux-media@vger.kernel.org
Subject: Re: [PATCH 07/12] drivers: media: video: tm6000: tm6000.h: Include version.h header
Date: Thu, 19 Apr 2012 16:48:50 -0300 [thread overview]
Message-ID: <4F906C22.6090101@redhat.com> (raw)
In-Reply-To: <1334723412-5034-8-git-send-email-marcos.souza.org@gmail.com>
Em 18-04-2012 01:30, Marcos Paulo de Souza escreveu:
> The output of "make versioncheck" told us that:
>
> drivers/media/video/tm6000/tm6000.h: 401: need linux/version.h
>
> If we take a look at the code, we can see the use of the macro
> KERNEL_VERSION. So, we need this include.
>
> In this patch too, the headers of the file were reordered in alphabetic
> order. No functional changes here.
>
> Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
> Cc: <linux-media@vger.kernel.org >
> Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Nack. See enclosed.
commit d8a9c01484b258573587a52c3226bbdf6d11cda6
Author: Mauro Carvalho Chehab <mchehab@redhat.com>
Date: Thu Apr 19 16:35:27 2012 -0300
[media] tlg2300: Remove usage of KERNEL_VERSION()
As reported by Marcos:
On 04-18-2012 01:30, Marcos Paulo de Souza wrote:
> The output of "make versioncheck" told us that:
>
> drivers/media/video/tlg2300/pd-video.c: 1669: need linux/version.h
>
> If we take a look at the code, we can see that this file uses the macro
> KERNEL_VERSION.
The V4L2 core now fills it automatically, so drivers shouldn't touch on
cap->version anymore.
Reported by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
diff --git a/drivers/media/video/tlg2300/pd-video.c b/drivers/media/video/tlg2300/pd-video.c
index a794ae6..bfbf9e5 100644
--- a/drivers/media/video/tlg2300/pd-video.c
+++ b/drivers/media/video/tlg2300/pd-video.c
@@ -150,7 +150,6 @@ static int vidioc_querycap(struct file *file, void *fh,
strcpy(cap->driver, "tele-video");
strcpy(cap->card, "Telegent Poseidon");
usb_make_path(p->udev, cap->bus_info, sizeof(cap->bus_info));
- cap->version = KERNEL_VERSION(0, 0, 1);
cap->capabilities = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_TUNER |
V4L2_CAP_AUDIO | V4L2_CAP_STREAMING |
V4L2_CAP_READWRITE | V4L2_CAP_VBI_CAPTURE;
next prev parent reply other threads:[~2012-04-19 19:48 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-18 4:30 [PATCH 00/12] Fix use of version.h Marcos Paulo de Souza
2012-04-18 4:30 ` [PATCH 01/12] drivers: block: mtip32xx: mtip32xx.h: Remove unnneeded include " Marcos Paulo de Souza
2012-04-18 4:30 ` [PATCH 02/12] drivers: gpu: drm: gma500: mdfld_dsi_output.h: Remove not unneeded " Marcos Paulo de Souza
2012-04-18 4:30 ` Marcos Paulo de Souza
2012-04-18 4:30 ` [PATCH 03/12] drivers: media: dvb: ddbridge: ddbridge-code: Remove " Marcos Paulo de Souza
2012-04-18 4:30 ` [PATCH 04/12] drivers: media: radio: radio-keene.c: " Marcos Paulo de Souza
2012-04-18 4:30 ` [PATCH 05/12] drivers: media: video: adp1653.c: " Marcos Paulo de Souza
2012-04-18 4:30 ` [PATCH 06/12] drivers: media: video: tlg2300: pd-video.c: Include version.h header Marcos Paulo de Souza
2012-04-19 19:39 ` Mauro Carvalho Chehab
2012-04-19 19:46 ` Marcos Souza
2012-04-20 2:14 ` Huang Shijie
2012-04-18 4:30 ` [PATCH 07/12] drivers: media: video: tm6000: tm6000.h: " Marcos Paulo de Souza
2012-04-19 19:48 ` Mauro Carvalho Chehab [this message]
2012-04-18 4:30 ` [PATCH 08/12] drivers: staging: media: as102: as102fe.c: Remove include of version.h Marcos Paulo de Souza
2012-04-18 4:30 ` [PATCH 09/12] drivers: staging: media: as102: as102_usb_drv.h: " Marcos Paulo de Souza
2012-04-18 4:30 ` [PATCH 10/12] drivers: staging: media: easycap: easycap_ioctl: Include version.h header Marcos Paulo de Souza
2012-04-18 4:30 ` [PATCH 11/12] drivers: staging: rtl8172: Remove unneeded include of version.h Marcos Paulo de Souza
2012-04-18 21:09 ` Larry Finger
2012-04-18 4:30 ` [PATCH 12/12] drivers: staging: vme: devices: Remove unneeded include version.h Marcos Paulo de Souza
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F906C22.6090101@redhat.com \
--to=mchehab@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=marcos.souza.org@gmail.com \
--cc=mchehab@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.