Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] lib/igt_kms: Fix enum type in igt_pipe_has_prop.
@ 2018-03-15 11:01 Maarten Lankhorst
  2018-03-15 12:43 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Maarten Lankhorst @ 2018-03-15 11:01 UTC (permalink / raw)
  To: igt-dev

Found when compiling igt with clang:
[284/819] Compiling C object 'tests/kms_crtc_background_color@exe/kms_crtc_background_color.c.o'.
../tests/kms_crtc_background_color.c:140:48: warning: implicit conversion from enumeration type
	'enum igt_atomic_crtc_properties' to different enumeration type 'enum igt_atomic_connector_properties' [-Wenum-conversion]

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
---
 lib/igt_kms.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/igt_kms.h b/lib/igt_kms.h
index 1c46186e8a9d..672930e9849f 100644
--- a/lib/igt_kms.h
+++ b/lib/igt_kms.h
@@ -615,7 +615,7 @@ igt_pipe_get_prop(igt_display_t *display, enum pipe pipe,
  */
 static inline bool
 igt_pipe_has_prop(igt_display_t *display, enum pipe pipe,
-		  enum igt_atomic_connector_properties prop)
+		  enum igt_atomic_crtc_properties prop)
 {
 	return display->pipes[pipe].props[prop];
 }
-- 
2.16.2

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

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

end of thread, other threads:[~2018-03-15 16:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-15 11:01 [igt-dev] [PATCH i-g-t] lib/igt_kms: Fix enum type in igt_pipe_has_prop Maarten Lankhorst
2018-03-15 12:43 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2018-03-15 12:51 ` [igt-dev] [PATCH i-g-t] " Ville Syrjälä
2018-03-15 14:43 ` [igt-dev] ✗ Fi.CI.IGT: warning for " Patchwork
2018-03-15 16:31 ` [igt-dev] ✗ Fi.CI.BAT: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox