Re: [PATCH] staging: gdm72xx: fix address space parse warnings

From: Okash Khawaja
Date: Fri Dec 11 2015 - 05:33:21 EST


Thanks, that's a cleaner approach. Apologies for delayed reply as I'm in middle of a house move. I'll send an updated patch soon.

Okash

> On 2 Dec 2015, at 13:17, Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote:
>
> Probably it's better to create a different struct:
>
> struct udata_s {
> unsigned int size;
> void __user *buf;
> };
>
> regards,
> dan carpenter
>
>
--
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/