[lkml]   [2022]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[intel-gvt:topic/for-christoph 1/37] drivers/gpu/drm/i915/intel_gvt.h:69:5: error: no previous prototype for function 'intel_gvt_iterate_mmio_table'
tree: topic/for-christoph
head: fd6f410fe5eced449a4d6467a4f4789a8eb10382
commit: 07de96038f7d8a179287ae178dfcad8f085abb9e [1/37] i915/gvt: Separate the MMIO tracking table from GVT-g
config: i386-allyesconfig (
compiler: clang version 15.0.0 ( 64c045e25b8471bbb572bd29159c294a82a86a25)
reproduce (this is a W=1 build):
wget -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git remote add intel-gvt
git fetch --no-tags intel-gvt topic/for-christoph
git checkout 07de96038f7d8a179287ae178dfcad8f085abb9e
# 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 <>

All errors (new ones prefixed by >>):

In file included from <built-in>:4:
In file included from drivers/gpu/drm/i915/gvt/gvt.h:39:
>> drivers/gpu/drm/i915/intel_gvt.h:69:5: error: no previous prototype for function 'intel_gvt_iterate_mmio_table' [-Werror,-Wmissing-prototypes]
int intel_gvt_iterate_mmio_table(struct intel_gvt_mmio_table_iter *iter)
drivers/gpu/drm/i915/intel_gvt.h:69:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int intel_gvt_iterate_mmio_table(struct intel_gvt_mmio_table_iter *iter)
1 error generated.

vim +/intel_gvt_iterate_mmio_table +69 drivers/gpu/drm/i915/intel_gvt.h

> 69 int intel_gvt_iterate_mmio_table(struct intel_gvt_mmio_table_iter *iter)
70 {
71 return 0;
72 }
73 #endif

0-DAY CI Kernel Test Service

 \ /
  Last update: 2022-04-16 10:15    [W:0.023 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site