Re: ioctl conflicts

Gerd Knorr (kraxel@bytesex.org)
30 Aug 2001 08:16:22 GMT


Manik Raina wrote:
> I was grep-ing on a 2.4 source tree when i found the
> following :
>
> ./include/linux/videodev.h:#define VIDIOCGCAP
> _IOR('v',1,struct video_capability)
> ./include/linux/ext2_fs.h:#define EXT2_IOC_GETVERSION _IOR('v',1,
> long)

The size of the argument has a different size, so they end up with
different magic numbers because of that.

Gerd

-- 
Damn lot people confuse usability and eye-candy.
-
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/