Re: [PATCH] virgl: fix caps ioctl size check.

2018-02-12 Thread Stéphane Marchesin
On Mon, Feb 12, 2018 at 4:26 PM, Dave Airlie wrote: > From: Dave Airlie > > The size check seems backwards, if userspace gives us a size > larger it is probably asking for a newer version of the caps, > so we just fill in the caps version we have at the

[PATCH] virgl: fix caps ioctl size check.

2018-02-12 Thread Dave Airlie
From: Dave Airlie The size check seems backwards, if userspace gives us a size larger it is probably asking for a newer version of the caps, so we just fill in the caps version we have at the smaller size, and it can work it out from there. Userspace will probably still need