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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
>
Pushed, thanks.
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux