From: Martin Zwickel <martin.zwickel@technotrend.de>
To: LKML <linux-kernel@vger.kernel.org>
Subject: [saa7146] v4l 32bit ioctl compat patch
Date: Thu, 19 Feb 2009 11:50:13 +0100 [thread overview]
Message-ID: <20090219115013.75449e6b@dieter.augsburg> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 256 bytes --]
Hi all,
what do you think about such a patch to get 32bit ioctl compat working for
saa7146 driver?
Thanks and regards,
Martin
--
MyExcuse:
static from nylon underwear
Martin Zwickel <martin.zwickel@technotrend.de>
Research & Development
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: dvb_ttpci_v4l_compat_ioctl32.patch --]
[-- Type: text/x-patch, Size: 591 bytes --]
diff -uprN -X linux-2.6.23.1-vanilla/Documentation/dontdiff -x probe.c -x vdso.lds linux-2.6.23.1-vanilla/drivers/media/common/saa7146_fops.c linux-2.6.23.1/drivers/media/common/saa7146_fops.c
--- linux-2.6.23.1-vanilla/drivers/media/common/saa7146_fops.c 2007-10-12 18:43:44.000000000 +0200
+++ linux-2.6.23.1/drivers/media/common/saa7146_fops.c 2007-11-27 14:03:57.000000000 +0100
@@ -425,6 +425,7 @@ static const struct file_operations vide
.poll = fops_poll,
.mmap = fops_mmap,
.ioctl = fops_ioctl,
+ .compat_ioctl = v4l_compat_ioctl32,
.llseek = no_llseek,
};
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
reply other threads:[~2009-02-19 11:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20090219115013.75449e6b@dieter.augsburg \
--to=martin.zwickel@technotrend.de \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®