lkml.org 
[lkml]   [2001]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: ioctl conflicts
From
   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/

\
 
 \ /
  Last update: 2005-03-22 13:01    [W:0.208 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site