All of lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t 1/1] tests/kms_properties: Fix compiler warning
@ 2018-11-05 13:37 Petri Latvala
  2018-11-05 15:10 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/1] " Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Petri Latvala @ 2018-11-05 13:37 UTC (permalink / raw)
  To: igt-dev; +Cc: Rodrigo Vivi, Petri Latvala

../tests/kms_properties.c:113:11: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]

Fixes: 7983e19ed62e ("tests/kms_properties: Add functional test for "max bpc" property")
Signed-off-by: Petri Latvala <petri.latvala@intel.com>
Cc: Radhakrishna Sripada <radhakrishna.sripada@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
---
 tests/kms_properties.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/kms_properties.c b/tests/kms_properties.c
index 503a5c25..82d28e9b 100644
--- a/tests/kms_properties.c
+++ b/tests/kms_properties.c
@@ -30,7 +30,7 @@
 #include <time.h>
 
 struct additional_test {
-	char *name;
+	const char *name;
 	uint32_t obj_type;
 	void (*prop_test)(int fd, uint32_t id, uint32_t type, drmModePropertyPtr prop,
 			  uint32_t prop_id, uint64_t prop_value, bool atomic);
-- 
2.18.0

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-11-05 16:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-05 13:37 [igt-dev] [PATCH i-g-t 1/1] tests/kms_properties: Fix compiler warning Petri Latvala
2018-11-05 15:10 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/1] " Patchwork
2018-11-05 15:10 ` [igt-dev] [PATCH i-g-t 1/1] " Rodrigo Vivi
2018-11-05 16:40 ` [igt-dev] ✓ Fi.CI.IGT: success for series starting with [i-g-t,1/1] " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.