mtd/include/mtd mtd-abi.h,1.8,1.9

Nicolas Pitre nico at cam.org
Tue Feb 8 12:57:13 EST 2005


On Tue, 8 Feb 2005, David Woodhouse wrote:

> On Tue, 2005-02-08 at 17:45 +0000, Nicolas Pitre wrote:
> > +#define OTPSELECT		_IOR('M', 13, int)
> > +#define OTPGETREGIONCOUNT	_IOW('M', 14, int)
> 
> No ints in ioctls please. Choose something with a fixed size.

Aren't ints fixed size?  I carefully avoided using a long for that 
reason.


Nicolas




More information about the linux-mtd mailing list