Re: [RFC][PATCH] nbd driver for 2.5.72

Sam Ravnborg (sam@ravnborg.org)
Sat, 21 Jun 2003 09:45:35 +0200


On Sat, Jun 21, 2003 at 08:32:24AM +0100, viro@parcelfarce.linux.theplanet.co.uk wrote:
>
> > +static int nbd_debug_write_proc(struct file *file, const char *buffer,
> > + unsigned long count, void *data)
> > +{
>
> First of all, "buffer" is userland pointer.

Annotate user pointers with __user.

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