On Friday 20 August 2010 19:56:20 Glauber Costa wrote:
I don't think that would improve the code. Generally, we try to *avoid* using
structs in ioctl arguments, although KVM does have a precedent of using structs
there.
In fact, the code here could be simplified by using get_user/put_user on the
simple argument, which would not be possibly with a struct.
Arnd
--