[PATCH xserver 2/3] modesetting: Check for -1 before converting to unsigned int.

Adam Jackson ajax at nwnk.net
Fri Feb 2 20:21:07 UTC 2018


On Mon, 2017-03-27 at 15:03 +0300, msrb at suse.com wrote:
> From: Michal Srb <msrb at suse.com>
> 
> dri2.c:516:21: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
>     if (front->name < 0)
> 
> Prevents a failure from being ignored.
> ---

Merged these two:

remote: I: patch #111850 updated using rev a9f68688f313752b1c6dfcbf6bf54f8c41fd811d.
remote: I: patch #146557 updated using rev 3e3b8a40fee77d1af6ca0c2946ff276d555ddea8.
remote: I: 2 patch(es) updated to state Accepted.
To ssh://git.freedesktop.org/git/xorg/xserver
   b75835a43..3e3b8a40f  master -> master

- ajax


More information about the xorg-devel mailing list