diff options
author | Jammy Zhou <Jammy.Zhou@amd.com> | 2015-04-27 10:29:55 +0800 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2015-05-28 15:49:18 +0100 |
commit | 454b14949452c4e44990a8f455bcc307306181bc (patch) | |
tree | 244409dbba2ea26162f2bf2df87c5d22adfd3312 /nouveau/private.h | |
parent | d0e592d4e9b59d9cc185f1d63b3c1dd818e95098 (diff) |
Fix one warning (v2)
xf86drm.c:356:2: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
group = (serv_group >= 0) ? serv_group : DRM_DEV_GID;
^
v2: do 'int' cast to fix the warning
Signed-off-by: Jammy Zhou <Jammy.Zhou@amd.com>
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'nouveau/private.h')
0 files changed, 0 insertions, 0 deletions