Re: [Intel-gfx] [PATCH i-g-t] tests/kms_setmode: Fix compilation warnings.

2016-03-07 Thread Maarten Lankhorst
Op 07-03-16 om 11:59 schreef Marius Vlad: > kms_setmode.c:384:30: warning: declaration of ‘drm_fd’ shadows a global > declaration [-Wshadow] > > kms_setmode.c:45:12: note: shadowed declaration is here static int drm_fd; > > kms_setmode.c:391:38: warning: passing argument 8 of ‘drmModeSetCrtc’ > dis

[Intel-gfx] [PATCH i-g-t] tests/kms_setmode: Fix compilation warnings.

2016-03-07 Thread Marius Vlad
kms_setmode.c:384:30: warning: declaration of ‘drm_fd’ shadows a global declaration [-Wshadow] kms_setmode.c:45:12: note: shadowed declaration is here static int drm_fd; kms_setmode.c:391:38: warning: passing argument 8 of ‘drmModeSetCrtc’ discards ‘const’ qualifier from pointer target type [-Wdi