Re: [dm-devel] Re: [RFC] device-mapper ioctl interface
Greg KH (firstname.lastname@example.org)
Mon, 9 Jun 2003 13:39:54 -0700
On Mon, Jun 09, 2003 at 10:03:50PM +0200, Daniel Phillips wrote:
> On Friday 06 June 2003 19:17, Greg KH wrote:
> > On Thu, Jun 05, 2003 at 10:39:43AM +0100, Joe Thornber wrote:
> > > Here's the header file for the the proposed new ioctl interface for
> > > dm. We've tried to change as little as possible to minimise code
> > > changes in LVM2 and EVMS.
> > Minor comment:
> > - please do not use uint_32t types in kernel header files. Use
> > the proper __u32 type which is guarenteed to be the proper
> > size across the user/kernel boundry.
> We even have a flavor without the __'s:
> A little easier on the eyes, imho.
But they are not the same.
- "__" means this variable will be the same size across the
- without the "__" means this variable will only be this size within
Use "__" for variables being seen by userspace. Otherwise use the
types without "__".
Hope this helps,
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/