Messages in this thread | | | Date | Thu, 30 Aug 2001 02:31:03 -0700 (PDT) | Subject | Re: ioctl conflicts | From | "David S. Miller" <> |
| |
From: Gerd Knorr <kraxel@bytesex.org> Date: 30 Aug 2001 08:16:22 GMT
Manik Raina wrote: > ./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. What if "struct video_capability" were "int[2]"? Then the values would be identical.
Later, David S. Miller davem@redhat.com - 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/
| |