* [intel-gvt:gvt-next-bak-2022-04-13 2/4] drivers/gpu/drm/i915/intel_gvt.h:66:5: error: no previous prototype for 'intel_gvt_iterate_mmio_table'
@ 2022-04-20 6:06 kernel test robot
2022-04-20 7:03 ` Christoph Hellwig
0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2022-04-20 6:06 UTC (permalink / raw)
To: Zhi Wang
Cc: kbuild-all, zhenyu.z.wang, terrence.xu, intel-gvt-dev,
linux-kernel, Christoph Hellwig, Zhenyu Wang
tree: https://github.com/intel/gvt-linux.git gvt-next-bak-2022-04-13
head: f267d34e47f33a283b785a31b7b8d1c899502743
commit: e870ce1791520cd03f67c5a16f309d94e4aede85 [2/4] i915/gvt: Separate the MMIO tracking table from GVT-g
config: i386-defconfig (https://download.01.org/0day-ci/archive/20220420/202204201327.wDSzH3pV-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.2.0-20) 11.2.0
reproduce (this is a W=1 build):
# https://github.com/intel/gvt-linux/commit/e870ce1791520cd03f67c5a16f309d94e4aede85
git remote add intel-gvt https://github.com/intel/gvt-linux.git
git fetch --no-tags intel-gvt gvt-next-bak-2022-04-13
git checkout e870ce1791520cd03f67c5a16f309d94e4aede85
# save the config file
mkdir build_dir && cp config build_dir/.config
make 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 drivers/gpu/drm/i915/gvt/gvt.h:39,
from drivers/gpu/drm/i915/gvt/mpt.h:36,
from <command-line>:
drivers/gpu/drm/i915/intel_gvt.h:66:41: error: 'struct intel_gvt_mmio_table_iter' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
66 | int intel_gvt_iterate_mmio_table(struct intel_gvt_mmio_table_iter *iter)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/i915/intel_gvt.h:66:5: error: no previous prototype for 'intel_gvt_iterate_mmio_table' [-Werror=missing-prototypes]
66 | int intel_gvt_iterate_mmio_table(struct intel_gvt_mmio_table_iter *iter)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +/intel_gvt_iterate_mmio_table +66 drivers/gpu/drm/i915/intel_gvt.h
65
> 66 int intel_gvt_iterate_mmio_table(struct intel_gvt_mmio_table_iter *iter)
67 {
68 return 0;
69 }
70 #endif
71
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [intel-gvt:gvt-next-bak-2022-04-13 2/4] drivers/gpu/drm/i915/intel_gvt.h:66:5: error: no previous prototype for 'intel_gvt_iterate_mmio_table'
2022-04-20 6:06 [intel-gvt:gvt-next-bak-2022-04-13 2/4] drivers/gpu/drm/i915/intel_gvt.h:66:5: error: no previous prototype for 'intel_gvt_iterate_mmio_table' kernel test robot
@ 2022-04-20 7:03 ` Christoph Hellwig
0 siblings, 0 replies; 3+ messages in thread
From: Christoph Hellwig @ 2022-04-20 7:03 UTC (permalink / raw)
To: kernel test robot
Cc: Zhi Wang, kbuild-all, zhenyu.z.wang, terrence.xu, intel-gvt-dev,
linux-kernel, Christoph Hellwig, Zhenyu Wang
I think the stub for intel_gvt_iterate_mmio_table needs a static inline.
Can we get this fixed up?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [intel-gvt:gvt-next-bak-2022-04-13 2/4] drivers/gpu/drm/i915/intel_gvt.h:66:5: error: no previous prototype for 'intel_gvt_iterate_mmio_table'
@ 2022-04-20 7:03 ` Christoph Hellwig
0 siblings, 0 replies; 3+ messages in thread
From: Christoph Hellwig @ 2022-04-20 7:03 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 99 bytes --]
I think the stub for intel_gvt_iterate_mmio_table needs a static inline.
Can we get this fixed up?
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-04-20 7:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-20 6:06 [intel-gvt:gvt-next-bak-2022-04-13 2/4] drivers/gpu/drm/i915/intel_gvt.h:66:5: error: no previous prototype for 'intel_gvt_iterate_mmio_table' kernel test robot
2022-04-20 7:03 ` Christoph Hellwig
2022-04-20 7:03 ` Christoph Hellwig
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.