tests/xe_*.c: Fix build break on Ubuntu 22.04.2 LTS
PATCH 1/1 tests/xe_*.c: Fix build break on Ubuntu 22.04.2 LTS
I've noticed missing fcntl.h include which breaks compilation of xe tests.
Signed-off-by Zbigniew Kempczyński <[email protected]>
Cc Karolina Stolarek <[email protected]>
--- tests/xe/xe_sysfs_defaults.c | 1 + tests/xe/xe_sysfs_scheduler.c | 1 + 2 files changed, 2 insertions(+)
tests/xe/xe_sysfs_defaults.c +1 -0
@@ -14,6 +14,7 @@*/ #include <dirent.h> +#include <fcntl.h> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h>
tests/xe/xe_sysfs_scheduler.c +1 -0
@@ -24,6 +24,7 @@*/ #include <dirent.h> +#include <fcntl.h> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h>
Signature · 1 line
2.34.1
Quoted 2 lines · Zbigniew Kempczyński
I've noticed missing
fcntl.hinclude which breaks compilation of xe tests.
Also older Ubuntus are impacted, but it's a big nitpick. The patch fixes compilation errors, thanks Zbigniew.
Reviewed-by Karolina Stolarek <[email protected]>
Quoted 32 lines
Signed-off-by Zbigniew Kempczyński <[email protected]>Cc Karolina Stolarek <[email protected]>--- tests/xe/xe_sysfs_defaults.c | 1 + tests/xe/xe_sysfs_scheduler.c | 1 + 2 files changed, 2 insertions(+)tests/xe/xe_sysfs_defaults.c +1
-0@@ -14,6 +14,7 @@*/ #include <dirent.h> +#include <fcntl.h> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> tests/xe/xe_sysfs_scheduler.c +1
-0@@ -24,6 +24,7 @@*/ #include <dirent.h> +#include <fcntl.h> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h>
Patchwork
CI[igt-dev] ✗ Fi.CI.BAT: failure for tests/xe_*.c: Fix build break on Ubuntu 22.04.2 LTS
In reply to Zbigniew Kempczyński== Series Details ==
== Series Details ==
Series: tests/xe_*.c: Fix build break on Ubuntu 22.04.2 LTS
URL : https://patchwork.freedesktop.org/series/120158/
State : failure
== Summary ==
Series 120158 revision 1 was fully merged or fully failed: no git log