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

Maarten Lankhorst maarten.lankhorst at linux.intel.com
Mon Mar 7 11:28:03 UTC 2016

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’
> discards ‘const’ qualifier from pointer target type
> [-Wdiscarded-qualifiers] ids, crtc->connector_count, &crtc->mode);
> Signed-off-by: Marius Vlad <marius.c.vlad at intel.com>
Pushed, thanks.

More information about the Intel-gfx mailing list