Re: [2.6.7-rc1-mm1] lp int copy_to_user replaced

From: viro
Date: Thu May 27 2004 - 13:14:22 EST


On Thu, May 27, 2004 at 08:06:55PM +0200, FabF wrote:
> On Thu, 2004-05-27 at 20:01, viro@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> wrote:
> > On Thu, May 27, 2004 at 07:32:08PM +0200, FabF wrote:
> > > Andrew,
> > >
> > > Here's a patch to have standard __put_user for integer transfers in lp
> > > driver.Is it correct ?
> >
> > What the hell for? copy_to_user()/copy_from_user() is perfectly OK here.
> >
> And why the hell use generic functions when we have neat small type
> exchange macros ?

We have different definitions of "neat", apparently.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/