From: Andrzej Hajda <andrzej.hajda@intel.com>
To: Mauro Carvalho Chehab <mauro.chehab@linux.intel.com>,
igt-dev@lists.freedesktop.org
Subject: Re: [igt-dev] [PATCH i-g-t 2/2] tests/i915_pm_freq_api: add missing include
Date: Thu, 27 Apr 2023 14:06:20 +0200 [thread overview]
Message-ID: <7ece4542-25bc-13b9-425e-7e4191eba30c@intel.com> (raw)
In-Reply-To: <20230427104119.198499-2-mauro.chehab@linux.intel.com>
On 27.04.2023 12:41, Mauro Carvalho Chehab wrote:
> From: Kamil Konieczny <kamil.konieczny@linux.intel.com>
>
> Add missing include file. This fixes armhf, aarch64 and mips
> cross-compilation error:
>
> ../tests/i915/i915_pm_freq_api.c:80:46: error: ‘O_WRONLY’ undeclared (first use in this function); did you mean ‘STA_RONLY’?
>
> Signed-off-by: Kamil Konieczny <kamil.konieczny@linux.intel.com>
> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com>
Regards
Andrzej
> ---
> tests/i915/i915_pm_freq_api.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/tests/i915/i915_pm_freq_api.c b/tests/i915/i915_pm_freq_api.c
> index 7342f5414034..662d514a4ef6 100644
> --- a/tests/i915/i915_pm_freq_api.c
> +++ b/tests/i915/i915_pm_freq_api.c
> @@ -3,6 +3,8 @@
> * Copyright © 2023 Intel Corporation
> */
>
> +#include <fcntl.h>
> +
> #include "i915/gem.h"
> #include "igt_sysfs.h"
> #include "igt.h"
next prev parent reply other threads:[~2023-04-27 12:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-27 10:41 [igt-dev] [PATCH i-g-t 1/2] testplan/meson.build: don't generate testlist on cross-compilation Mauro Carvalho Chehab
2023-04-27 10:41 ` [igt-dev] [PATCH i-g-t 2/2] tests/i915_pm_freq_api: add missing include Mauro Carvalho Chehab
2023-04-27 12:06 ` Andrzej Hajda [this message]
2023-04-27 12:02 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/2] testplan/meson.build: don't generate testlist on cross-compilation Patchwork
2023-04-27 12:05 ` [igt-dev] [PATCH i-g-t 1/2] " Andrzej Hajda
2023-04-27 14:55 ` [igt-dev] ✗ Fi.CI.IGT: failure for series starting with [i-g-t,1/2] " 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=7ece4542-25bc-13b9-425e-7e4191eba30c@intel.com \
--to=andrzej.hajda@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=mauro.chehab@linux.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