Skip to contentSkip to conversation

lib/igt.h: Guard igt_alsa.h in HAVE_CHAMELIUM guard

PATCH In review Antonio Argenziano 3 participants 3 messages May 20, 2019 – May 21, 2019 Library code

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lib/igt.h: Guard igt_alsa.h in HAVE_CHAMELIUM guard

The alsa library is only guaranteed to exists is the HAVE_CHAMELIUM flag is set.

---
 lib/igt.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/igt.h +1 -1
index 5852d557..2ae43c30 100644
@@ -35,13 +35,13 @@
 #include "igt_dummyload.h"
 #include "igt_fb.h"
 #include "igt_frame.h"
-#include "igt_alsa.h"
 #include "igt_audio.h"
 #include "igt_gt.h"
 #include "igt_kms.h"
 #include "igt_pm.h"
 #include "igt_stats.h"
 #ifdef HAVE_CHAMELIUM
+#include "igt_alsa.h"
 #include "igt_chamelium.h"
 #include "igt_chamelium_stream.h"
 #endif
Signature · 6 lines
2.21.0

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Antonio Argenziano

The alsa library is only guaranteed to exists is the HAVE_CHAMELIUM flag is set.

Thanks for the fix!

and pushed.

Quoted 13 lines
---
 lib/igt.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/igt.h +0 -1
index 5852d557..2ae43c30 100644
@@ -35,13 +35,13 @@
 #include "igt_dummyload.h"
 #include "igt_fb.h"
 #include "igt_frame.h"
-#include "igt_alsa.h"

lib/igt.h line 47

Quoted 10 lines
lib/igt.h +1 -0
 #include "igt_audio.h"
 #include "igt_gt.h"
 #include "igt_kms.h"
 #include "igt_pm.h"
 #include "igt_stats.h"
 #ifdef HAVE_CHAMELIUM
+#include "igt_alsa.h"
 #include "igt_chamelium.h"
 #include "igt_chamelium_stream.h"
 #endif

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#2 lore raw

[igt-dev] ✗ Fi.CI.BAT: failure for lib/igt.h: Guard igt_alsa.h in HAVE_CHAMELIUM guard (rev2)

In reply to Antonio Argenziano
== Series Details ==

== Series Details ==

Series: lib/igt.h: Guard igt_alsa.h in HAVE_CHAMELIUM guard (rev2)
URL : https://patchwork.freedesktop.org/series/60873/
State : failure

== Summary ==

Series 60873 revision 2 was fully merged or fully failed: no git log

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev