Warn about ioctl collision

Pavel Machek (pavel@ucw.cz)
Thu, 4 Apr 2002 00:18:16 +0200


Hi!

It is probably too late to fix it properly, but warning is better than
nothing. (It confused the hell out of me...)
Pavel

--- clean.2.5/include/asm-i386/ioctls.h Fri Jul 24 20:10:16 1998
+++ linux/include/asm-i386/ioctls.h Thu Oct 25 13:24:35 2001
@@ -6,7 +6,7 @@
/* 0x54 is just a magic number to make these relatively unique ('T') */

#define TCGETS 0x5401
-#define TCSETS 0x5402
+#define TCSETS 0x5402 /* Clashes with SNDCTL_TMR_START sound ioctl */
#define TCSETSW 0x5403
#define TCSETSF 0x5404
#define TCGETA 0x5405

-- 
(about SSSCA) "I don't say this lightly.  However, I really think that the U.S.
no longer is classifiable as a democracy, but rather as a plutocracy." --hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/