tree:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 32ce2abb03cfae17a9eb42bd6b1b619b72f23f20
commit: 5f5727195efd4856308c078b1391094384cf1a00 [11777/12034] drm/amdgpu: Unify ras block
interface for each ras block
config: i386-allyesconfig
(
https://download.01.org/0day-ci/archive/20220112/202201122203.RnVlhR9G-lk...)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
#
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commi...
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 5f5727195efd4856308c078b1391094384cf1a00
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/gpu/drm/amd/amdgpu/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:869:5: warning: no
previous prototype for 'amdgpu_ras_block_match_default' [-Wmissing-prototypes]
869 | int amdgpu_ras_block_match_default(struct amdgpu_ras_block_object*
block_obj, enum amdgpu_ras_block block)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:880:40: warning:
'amdgpu_ras_get_ras_block' defined but not used [-Wunused-function]
880 | static struct amdgpu_ras_block_object* amdgpu_ras_get_ras_block(struct
amdgpu_device *adev,
| ^~~~~~~~~~~~~~~~~~~~~~~~
vim +/amdgpu_ras_block_match_default +869 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
868
869 int amdgpu_ras_block_match_default(struct
amdgpu_ras_block_object* block_obj, enum amdgpu_ras_block block)
870 {
871 if(!block_obj)
872 return -EINVAL;
873
874 if (block_obj->block == block)
875 return 0;
876
877 return -EINVAL;
878 }
879
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org