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

From: viro
Date: Thu May 27 2004 - 13:03:24 EST


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.
-
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/