Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Karolina Stolarek <karolina.stolarek@intel.com>
To: "Zbigniew Kempczyński" <zbigniew.kempczynski@intel.com>,
	igt-dev@lists.freedesktop.org
Subject: Re: [igt-dev] [PATCH i-g-t] tests/xe_*.c: Fix build break on Ubuntu 22.04.2 LTS
Date: Tue, 4 Jul 2023 09:28:56 +0200	[thread overview]
Message-ID: <830e8f6b-9bf5-fde3-6547-9b8a897d142c@intel.com> (raw)
In-Reply-To: <20230704072347.65359-1-zbigniew.kempczynski@intel.com>

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>

  reply	other threads:[~2023-07-04  7:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2023-07-04  8:18 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=830e8f6b-9bf5-fde3-6547-9b8a897d142c@intel.com \
    --to=karolina.stolarek@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=zbigniew.kempczynski@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox