* [linux-next:master 11777/12034] drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:869:5: warning: no previous prototype for 'amdgpu_ras_block_match_default'
@ 2022-01-12 14:17 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-01-12 14:17 UTC (permalink / raw)
To: yipechai
Cc: kbuild-all, Linux Memory Management List, Alex Deucher,
Hawking Zhang, John Clements, Tao Zhou
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-lkp@intel.com/config)
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/commit/?id=5f5727195efd4856308c078b1391094384cf1a00
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@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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-01-12 14:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-12 14:17 [linux-next:master 11777/12034] drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:869:5: warning: no previous prototype for 'amdgpu_ras_block_match_default' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox