Re: ioctl cleanups: enable sg_io and serial stuff to be shared

From: David S. Miller (davem@redhat.com)
Date: Wed May 07 2003 - 09:07:29 EST


   From: Jeff Garzik <jgarzik@pobox.com>
   Date: Wed, 7 May 2003 11:12:03 -0400

   On Wed, May 07, 2003 at 07:39:00AM -0700, David S. Miller wrote:
> On Wed, 2003-05-07 at 05:56, Christoph Hellwig wrote:
> > Btw, if you really want to move all the 32bit ioctl compat code to the
> > drivers a ->ioctl32 file operation might be the better choice..
>
> I can't believe I never thought of that. :-)
   
   Likewise. That's a good idea...
   
But, of course, name it compat_ioctl() not ioctl32. The compat layer
is not only about 32-bit compatibility even though that is all that it
is used for currently.
-
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/



This archive was generated by hypermail 2b29 : Wed May 07 2003 - 22:00:31 EST