[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202204010647.p5YPbVds-lkp@intel.com>
Date: Fri, 1 Apr 2022 06:20:40 +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: drivers/gpu/drm/amd/amdgpu/amdgpu_hdp.c:27:6: warning: no previous
prototype for 'amdgpu_hdp_ras_fini'
Hi yipechai,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: e729dbe8ea1c6145ae7b9efd6a00a5613746d3b0
commit: aa8e65dfc75f684cd46d49f71453ea3512a1e770 drm/amdgpu: Remove redundant calls of amdgpu_ras_block_late_fini in hdp ras block
date: 4 weeks ago
config: arc-allyesconfig (https://download.01.org/0day-ci/archive/20220401/202204010647.p5YPbVds-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
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=aa8e65dfc75f684cd46d49f71453ea3512a1e770
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout aa8e65dfc75f684cd46d49f71453ea3512a1e770
# 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_hdp.c:27:6: warning: no previous prototype for 'amdgpu_hdp_ras_fini' [-Wmissing-prototypes]
27 | void amdgpu_hdp_ras_fini(struct amdgpu_device *adev, struct ras_common_if *ras_block)
| ^~~~~~~~~~~~~~~~~~~
vim +/amdgpu_hdp_ras_fini +27 drivers/gpu/drm/amd/amdgpu/amdgpu_hdp.c
b11625f56f09f1 Hawking Zhang 2021-04-28 26
01d468d9a42015 yipechai 2022-02-17 @27 void amdgpu_hdp_ras_fini(struct amdgpu_device *adev, struct ras_common_if *ras_block)
b11625f56f09f1 Hawking Zhang 2021-04-28 28 {
aa8e65dfc75f68 yipechai 2022-02-17 29
:::::: The code at line 27 was first introduced by commit
:::::: 01d468d9a420152e4a1270992e69a37ea0c98e04 drm/amdgpu: Modify .ras_fini function pointer parameter
:::::: TO: yipechai <YiPeng.Chai@....com>
:::::: CC: Alex Deucher <alexander.deucher@....com>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists