Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] tests/xe_*.c: Fix build break on Ubuntu 22.04.2 LTS
@ 2023-07-04  7:23 Zbigniew Kempczyński
  2023-07-04  7:28 ` Karolina Stolarek
  2023-07-04  8:18 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
  0 siblings, 2 replies; 3+ messages in thread
From: Zbigniew Kempczyński @ 2023-07-04  7:23 UTC (permalink / raw)
  To: igt-dev

I've noticed missing fcntl.h include which breaks compilation of xe
tests.

Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Cc: Karolina Stolarek <karolina.stolarek@intel.com>
---
 tests/xe/xe_sysfs_defaults.c  | 1 +
 tests/xe/xe_sysfs_scheduler.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/tests/xe/xe_sysfs_defaults.c b/tests/xe/xe_sysfs_defaults.c
index a1df312e74..5c9de43e9f 100644
--- a/tests/xe/xe_sysfs_defaults.c
+++ b/tests/xe/xe_sysfs_defaults.c
@@ -14,6 +14,7 @@
  */
 
 #include <dirent.h>
+#include <fcntl.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <unistd.h>
diff --git a/tests/xe/xe_sysfs_scheduler.c b/tests/xe/xe_sysfs_scheduler.c
index 9650194732..1da0f541ad 100644
--- a/tests/xe/xe_sysfs_scheduler.c
+++ b/tests/xe/xe_sysfs_scheduler.c
@@ -24,6 +24,7 @@
  */
 
 #include <dirent.h>
+#include <fcntl.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <unistd.h>
-- 
2.34.1

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

* Re: [igt-dev] [PATCH i-g-t] tests/xe_*.c: Fix build break on Ubuntu 22.04.2 LTS
  2023-07-04  7:23 [igt-dev] [PATCH i-g-t] tests/xe_*.c: Fix build break on Ubuntu 22.04.2 LTS Zbigniew Kempczyński
@ 2023-07-04  7:28 ` Karolina Stolarek
  2023-07-04  8:18 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
  1 sibling, 0 replies; 3+ messages in thread
From: Karolina Stolarek @ 2023-07-04  7:28 UTC (permalink / raw)
  To: Zbigniew Kempczyński, igt-dev

On 4.07.2023 09:23, Zbigniew Kempczyński wrote:
> I've noticed missing fcntl.h include 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 <karolina.stolarek@intel.com>

> 
> Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
> Cc: Karolina Stolarek <karolina.stolarek@intel.com>
> ---
>   tests/xe/xe_sysfs_defaults.c  | 1 +
>   tests/xe/xe_sysfs_scheduler.c | 1 +
>   2 files changed, 2 insertions(+)
> 
> diff --git a/tests/xe/xe_sysfs_defaults.c b/tests/xe/xe_sysfs_defaults.c
> index a1df312e74..5c9de43e9f 100644
> --- a/tests/xe/xe_sysfs_defaults.c
> +++ b/tests/xe/xe_sysfs_defaults.c
> @@ -14,6 +14,7 @@
>    */
>   
>   #include <dirent.h>
> +#include <fcntl.h>
>   #include <sys/types.h>
>   #include <sys/stat.h>
>   #include <unistd.h>
> diff --git a/tests/xe/xe_sysfs_scheduler.c b/tests/xe/xe_sysfs_scheduler.c
> index 9650194732..1da0f541ad 100644
> --- a/tests/xe/xe_sysfs_scheduler.c
> +++ b/tests/xe/xe_sysfs_scheduler.c
> @@ -24,6 +24,7 @@
>    */
>   
>   #include <dirent.h>
> +#include <fcntl.h>
>   #include <sys/types.h>
>   #include <sys/stat.h>
>   #include <unistd.h>

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

* [igt-dev] ✗ Fi.CI.BAT: failure for tests/xe_*.c: Fix build break on Ubuntu 22.04.2 LTS
  2023-07-04  7:23 [igt-dev] [PATCH i-g-t] tests/xe_*.c: Fix build break on Ubuntu 22.04.2 LTS Zbigniew Kempczyński
  2023-07-04  7:28 ` Karolina Stolarek
@ 2023-07-04  8:18 ` Patchwork
  1 sibling, 0 replies; 3+ messages in thread
From: Patchwork @ 2023-07-04  8:18 UTC (permalink / raw)
  To: Zbigniew Kempczyński; +Cc: igt-dev

[-- Attachment #1: Type: text/plain, Size: 243 bytes --]

== 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



[-- Attachment #2: Type: text/html, Size: 712 bytes --]

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

end of thread, other threads:[~2023-07-04  8:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-04  7:23 [igt-dev] [PATCH i-g-t] tests/xe_*.c: Fix build break on Ubuntu 22.04.2 LTS Zbigniew Kempczyński
2023-07-04  7:28 ` Karolina Stolarek
2023-07-04  8:18 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork

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