From: Zhao Junwang
legacy setcrtc ioctl does take a 32 bit value which might indeed
overflow
the checks of crtc_req->x > INT_MAX and crtc_req->y > INT_MAX aren't
needed any more with this
v2: -polish the annotation according to Daniel's comment
Cc: Daniel Vetter
Signed-off-by: Zhao Junwang
-
On Tue, Jul 07, 2015 at 05:08:35PM +0800, John Hunter wrote:
> From: Zhao Junwang
>
> legacy setcrtc ioctl does take a 32 bit value which might indeed
> overflow
>
> the checks of crtc_req->x > INT_MAX and crtc_req->y > INT_MAX aren't
> needed any more with this
>
> v2: -polish the annotation a