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

From: Dan Carpenter
Date: Wed Dec 02 2015 - 08:18:07 EST


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/