From: kernel test robot <lkp@intel.com>
To: Mullati Siva <siva.mullati@intel.com>, intel-gfx@lists.freedesktop.org
Cc: jani.nikula@intel.com, lucas.demarchi@intel.com,
kbuild-all@lists.01.org, matthew.auld@intel.com
Subject: Re: [Intel-gfx] [PATCH] drm/i915: Skip remap_io() calls for non-x86 platforms
Date: Fri, 19 Nov 2021 04:33:16 +0800 [thread overview]
Message-ID: <202111190444.MDt8ZDoq-lkp@intel.com> (raw)
In-Reply-To: <20211118111319.412926-1-siva.mullati@intel.com>
[-- Attachment #1: Type: text/plain, Size: 3346 bytes --]
Hi Mullati,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on drm-tip/drm-tip v5.16-rc1 next-20211118]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Mullati-Siva/drm-i915-Skip-remap_io-calls-for-non-x86-platforms/20211118-191629
base: git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/3cc867f614222b682fb1f739ff6db5133d9352ad
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Mullati-Siva/drm-i915-Skip-remap_io-calls-for-non-x86-platforms/20211118-191629
git checkout 3cc867f614222b682fb1f739ff6db5133d9352ad
# save the attached .config to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/gpu/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from <command-line>:
drivers/gpu/drm/i915/i915_mm.h:12:29: error: 'struct io_mapping' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
12 | struct io_mapping *iomap);
| ^~~~~~~~~~
drivers/gpu/drm/i915/i915_mm.h:10:29: error: 'struct vm_area_struct' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
10 | int remap_io_mapping(struct vm_area_struct *vma,
| ^~~~~~~~~~~~~~
>> drivers/gpu/drm/i915/i915_mm.h:15:42: error: unknown type name 'resource_size_t'
15 | struct scatterlist *sgl, resource_size_t iobase);
| ^~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +/resource_size_t +15 drivers/gpu/drm/i915/i915_mm.h
8
9 #if IS_ENABLED(CONFIG_X86)
10 int remap_io_mapping(struct vm_area_struct *vma,
11 unsigned long addr, unsigned long pfn, unsigned long size,
12 struct io_mapping *iomap);
13 int remap_io_sg(struct vm_area_struct *vma,
14 unsigned long addr, unsigned long size,
> 15 struct scatterlist *sgl, resource_size_t iobase);
16 #else
17 static inline int remap_io_mapping(struct vm_area_struct *vma,
18 unsigned long addr, unsigned long pfn, unsigned long size,
19 struct io_mapping *iomap)
20 {
21 return 0;
22 }
23 static inline int remap_io_sg(struct vm_area_struct *vma,
24 unsigned long addr, unsigned long size,
25 struct scatterlist *sgl, resource_size_t iobase)
26 {
27 return 0;
28 }
29 #endif
30
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 66533 bytes --]
next prev parent reply other threads:[~2021-11-18 20:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-18 11:13 [Intel-gfx] [PATCH] drm/i915: Skip remap_io() calls for non-x86 platforms Mullati Siva
2021-11-18 11:25 ` Jani Nikula
2021-11-18 14:48 ` [Intel-gfx] ✗ Fi.CI.BUILD: failure for " Patchwork
2021-11-18 20:33 ` kernel test robot [this message]
2021-11-19 6:25 ` [Intel-gfx] [PATCH] " kernel test robot
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=202111190444.MDt8ZDoq-lkp@intel.com \
--to=lkp@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=jani.nikula@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=lucas.demarchi@intel.com \
--cc=matthew.auld@intel.com \
--cc=siva.mullati@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