All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerd Knorr <kraxel@bytesex.org>
To: Linus Torvalds <torvalds@transmeta.com>,
	Kernel List <linux-kernel@vger.kernel.org>,
	Trivial Patch Monkey <trivial@rustcorp.com.au>
Subject: [patch] 01_v4l2-api-fix
Date: Thu, 7 Nov 2002 11:19:36 +0100	[thread overview]
Message-ID: <20021107101936.GA1939@bytesex.org> (raw)

  Hi,

This patch fixes a ioctl numbering flaw of the new v4l2 API,
found by davem.

Without this we get compile errors because tables based upon
ioctl number end up having duplicate entries.

Please apply,

  Gerd

--- linux-2.5.46/include/linux/videodev2.h	2002-11-07 09:20:16.000000000 +0100
+++ linux/include/linux/videodev2.h	2002-11-07 09:22:16.000000000 +0100
@@ -819,7 +819,7 @@
 #define VIDIOC_G_JPEGCOMP	_IOR  ('V', 61, struct v4l2_jpegcompression)
 #define VIDIOC_S_JPEGCOMP	_IOW  ('V', 62, struct v4l2_jpegcompression)
 #define VIDIOC_QUERYSTD      	_IOR  ('V', 63, v4l2_std_id)
-#define VIDIOC_TRY_FMT      	_IOWR ('V', 63, struct v4l2_format)
+#define VIDIOC_TRY_FMT      	_IOWR ('V', 64, struct v4l2_format)
 
 #define BASE_VIDIOC_PRIVATE	192		/* 192-255 are private */
 

-- 
You can't please everybody.  And usually if you _try_ to please
everybody, the end result is one big mess.
				-- Linus Torvalds, 2002-04-20

                 reply	other threads:[~2002-11-07  9:15 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=20021107101936.GA1939@bytesex.org \
    --to=kraxel@bytesex.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    --cc=trivial@rustcorp.com.au \
    /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.