[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202202181246.FqQEZVzy-lkp@intel.com>
Date: Fri, 18 Feb 2022 12:59:54 +0800
From: kernel test robot <lkp@...el.com>
To: yipechai <YiPeng.Chai@....com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Alex Deucher <alexander.deucher@....com>,
Tao Zhou <tao.zhou1@....com>
Subject: [agd5f:drm-next 73/91]
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:2460:5: warning: no previous
prototype for 'amdgpu_ras_block_late_init_default'
tree: https://gitlab.freedesktop.org/agd5f/linux.git drm-next
head: 7dfbe38cecadbaf6dd426855d8bf8f34a4ca2c30
commit: 418abce203fc2e936bf8c7632a9a429e861f6283 [73/91] drm/amdgpu: Remove redundant .ras_late_init initialization in some ras blocks
config: arc-allyesconfig (https://download.01.org/0day-ci/archive/20220218/202202181246.FqQEZVzy-lkp@intel.com/config)
compiler: arceb-elf-gcc (GCC) 11.2.0
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
git remote add agd5f https://gitlab.freedesktop.org/agd5f/linux.git
git fetch --no-tags agd5f drm-next
git checkout 418abce203fc2e936bf8c7632a9a429e861f6283
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc 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@...el.com>
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:2460:5: warning: no previous prototype for 'amdgpu_ras_block_late_init_default' [-Wmissing-prototypes]
2460 | int amdgpu_ras_block_late_init_default(struct amdgpu_device *adev,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/amdgpu_ras_block_late_init_default +2460 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
2459
> 2460 int amdgpu_ras_block_late_init_default(struct amdgpu_device *adev,
2461 struct ras_common_if *ras_block)
2462 {
2463 return amdgpu_ras_block_late_init(adev, ras_block);
2464 }
2465
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Powered by blists - more mailing lists