From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8CDB710E04D for ; Thu, 27 Apr 2023 12:06:23 +0000 (UTC) Message-ID: <7ece4542-25bc-13b9-425e-7e4191eba30c@intel.com> Date: Thu, 27 Apr 2023 14:06:20 +0200 MIME-Version: 1.0 Content-Language: en-US References: <20230427104119.198499-1-mauro.chehab@linux.intel.com> <20230427104119.198499-2-mauro.chehab@linux.intel.com> From: Andrzej Hajda In-Reply-To: <20230427104119.198499-2-mauro.chehab@linux.intel.com> Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Transfer-Encoding: 8bit Subject: Re: [igt-dev] [PATCH i-g-t 2/2] tests/i915_pm_freq_api: add missing include List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" To: Mauro Carvalho Chehab , igt-dev@lists.freedesktop.org List-ID: On 27.04.2023 12:41, Mauro Carvalho Chehab wrote: > From: Kamil Konieczny > > 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 > Signed-off-by: Mauro Carvalho Chehab Reviewed-by: Andrzej Hajda 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 > + > #include "i915/gem.h" > #include "igt_sysfs.h" > #include "igt.h"