Re: [PATCH] net/atm: move all compat_ioctl handling to atm/ioctl.c

From: David Woodhouse
Date: Wed Nov 11 2009 - 08:35:03 EST


On Wed, 2009-11-11 at 14:30 +0100, Arnd Bergmann wrote:
>
> +struct atmif_sioc32 {
> + compat_int_t number;
> + compat_int_t length;
> + compat_caddr_t arg;
> +};
> +
> +struct atm_iobuf32 {
> + compat_int_t length;
> + compat_caddr_t buffer;
> +};

We already have compat_atmif_sioc and compat_atm_iobuf structures
defined -- do those need to be duplicated?

Other than that, it looks sane. I wish I'd noticed that we already had
half a COMPAT implementation when I added the new bits. Thanks.

--
David Woodhouse Open Source Technology Centre
David.Woodhouse@xxxxxxxxx Intel Corporation

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