From: kernel test robot <lkp@intel.com>
To: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
Linux Memory Management List <linux-mm@kvack.org>
Subject: [linux-next:master 2367/2421] drivers/gpu/drm/i915/i915_gem_evict.h:15:15: error: declaration of 'struct i915_gem_ww_ctx' will not be visible outside of this function
Date: Thu, 27 Jan 2022 19:37:37 +0800 [thread overview]
Message-ID: <202201271909.PMc8rTNu-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 0eb96e2c58c03e79fc2ee833ba88bf9226986564
commit: 59d23ab387e87ad7663cbf7265cff163d41f34a6 [2367/2421] Merge branch 'for-linux-next-gt' of git://anongit.freedesktop.org/drm-intel
config: i386-randconfig-a016-20220124 (https://download.01.org/0day-ci/archive/20220127/202201271909.PMc8rTNu-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project f400a6012c668dfaa73462caf067ceb074e66c47)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=59d23ab387e87ad7663cbf7265cff163d41f34a6
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 59d23ab387e87ad7663cbf7265cff163d41f34a6
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 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 <built-in>:4:
>> drivers/gpu/drm/i915/i915_gem_evict.h:15:15: error: declaration of 'struct i915_gem_ww_ctx' will not be visible outside of this function [-Werror,-Wvisibility]
struct i915_gem_ww_ctx *ww,
^
drivers/gpu/drm/i915/i915_gem_evict.h:21:14: error: declaration of 'struct i915_gem_ww_ctx' will not be visible outside of this function [-Werror,-Wvisibility]
struct i915_gem_ww_ctx *ww,
^
drivers/gpu/drm/i915/i915_gem_evict.h:25:16: error: declaration of 'struct i915_gem_ww_ctx' will not be visible outside of this function [-Werror,-Wvisibility]
struct i915_gem_ww_ctx *ww);
^
3 errors generated.
vim +15 drivers/gpu/drm/i915/i915_gem_evict.h
13
14 int __must_check i915_gem_evict_something(struct i915_address_space *vm,
> 15 struct i915_gem_ww_ctx *ww,
16 u64 min_size, u64 alignment,
17 unsigned long color,
18 u64 start, u64 end,
19 unsigned flags);
20 int __must_check i915_gem_evict_for_node(struct i915_address_space *vm,
21 struct i915_gem_ww_ctx *ww,
22 struct drm_mm_node *node,
23 unsigned int flags);
24 int i915_gem_evict_vm(struct i915_address_space *vm,
25 struct i915_gem_ww_ctx *ww);
26
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [linux-next:master 2367/2421] drivers/gpu/drm/i915/i915_gem_evict.h:15:15: error: declaration of 'struct i915_gem_ww_ctx' will not be visible outside of this function
Date: Thu, 27 Jan 2022 19:37:37 +0800 [thread overview]
Message-ID: <202201271909.PMc8rTNu-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3060 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 0eb96e2c58c03e79fc2ee833ba88bf9226986564
commit: 59d23ab387e87ad7663cbf7265cff163d41f34a6 [2367/2421] Merge branch 'for-linux-next-gt' of git://anongit.freedesktop.org/drm-intel
config: i386-randconfig-a016-20220124 (https://download.01.org/0day-ci/archive/20220127/202201271909.PMc8rTNu-lkp(a)intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project f400a6012c668dfaa73462caf067ceb074e66c47)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=59d23ab387e87ad7663cbf7265cff163d41f34a6
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 59d23ab387e87ad7663cbf7265cff163d41f34a6
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 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 <built-in>:4:
>> drivers/gpu/drm/i915/i915_gem_evict.h:15:15: error: declaration of 'struct i915_gem_ww_ctx' will not be visible outside of this function [-Werror,-Wvisibility]
struct i915_gem_ww_ctx *ww,
^
drivers/gpu/drm/i915/i915_gem_evict.h:21:14: error: declaration of 'struct i915_gem_ww_ctx' will not be visible outside of this function [-Werror,-Wvisibility]
struct i915_gem_ww_ctx *ww,
^
drivers/gpu/drm/i915/i915_gem_evict.h:25:16: error: declaration of 'struct i915_gem_ww_ctx' will not be visible outside of this function [-Werror,-Wvisibility]
struct i915_gem_ww_ctx *ww);
^
3 errors generated.
vim +15 drivers/gpu/drm/i915/i915_gem_evict.h
13
14 int __must_check i915_gem_evict_something(struct i915_address_space *vm,
> 15 struct i915_gem_ww_ctx *ww,
16 u64 min_size, u64 alignment,
17 unsigned long color,
18 u64 start, u64 end,
19 unsigned flags);
20 int __must_check i915_gem_evict_for_node(struct i915_address_space *vm,
21 struct i915_gem_ww_ctx *ww,
22 struct drm_mm_node *node,
23 unsigned int flags);
24 int i915_gem_evict_vm(struct i915_address_space *vm,
25 struct i915_gem_ww_ctx *ww);
26
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
next reply other threads:[~2022-01-27 11:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-27 11:37 kernel test robot [this message]
2022-01-27 11:37 ` [linux-next:master 2367/2421] drivers/gpu/drm/i915/i915_gem_evict.h:15:15: error: declaration of 'struct i915_gem_ww_ctx' will not be visible outside of this function 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=202201271909.PMc8rTNu-lkp@intel.com \
--to=lkp@intel.com \
--cc=daniele.ceraolospurio@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-mm@kvack.org \
--cc=llvm@lists.linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.