From: kernel test robot <lkp@intel.com>
To: John Clements <john.clements@amd.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Alex Deucher <alexander.deucher@amd.com>,
Hawking Zhang <Hawking.Zhang@amd.com>
Subject: drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:858:6: warning: no previous prototype for 'amdgpu_ras_mca_query_error_status'
Date: Sat, 13 Nov 2021 06:11:30 +0800 [thread overview]
Message-ID: <202111130620.rT5o1eqR-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2622 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 7246f4dcaccc8de76a96a41359d89c3c791579bc
commit: 640ae42efb828be69a9ee6ac88fb3d5a3e678ddf drm/amdgpu: Updated RAS infrastructure
date: 7 weeks ago
config: alpha-buildonly-randconfig-r003-20210928 (attached as .config)
compiler: alpha-linux-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=640ae42efb828be69a9ee6ac88fb3d5a3e678ddf
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 640ae42efb828be69a9ee6ac88fb3d5a3e678ddf
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=alpha
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:858:6: warning: no previous prototype for 'amdgpu_ras_mca_query_error_status' [-Wmissing-prototypes]
858 | void amdgpu_ras_mca_query_error_status(struct amdgpu_device *adev,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/amdgpu_ras_mca_query_error_status +858 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
856
857
> 858 void amdgpu_ras_mca_query_error_status(struct amdgpu_device *adev,
859 struct ras_common_if *ras_block,
860 struct ras_err_data *err_data)
861 {
862 switch (ras_block->sub_block_index) {
863 case AMDGPU_RAS_MCA_BLOCK__MP0:
864 if (adev->mca.mp0.ras_funcs &&
865 adev->mca.mp0.ras_funcs->query_ras_error_count)
866 adev->mca.mp0.ras_funcs->query_ras_error_count(adev, &err_data);
867 break;
868 case AMDGPU_RAS_MCA_BLOCK__MP1:
869 if (adev->mca.mp1.ras_funcs &&
870 adev->mca.mp1.ras_funcs->query_ras_error_count)
871 adev->mca.mp1.ras_funcs->query_ras_error_count(adev, &err_data);
872 break;
873 case AMDGPU_RAS_MCA_BLOCK__MPIO:
874 if (adev->mca.mpio.ras_funcs &&
875 adev->mca.mpio.ras_funcs->query_ras_error_count)
876 adev->mca.mpio.ras_funcs->query_ras_error_count(adev, &err_data);
877 break;
878 default:
879 break;
880 }
881 }
882
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 35060 bytes --]
reply other threads:[~2021-11-12 22:12 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202111130620.rT5o1eqR-lkp@intel.com \
--to=lkp@intel.com \
--cc=Hawking.Zhang@amd.com \
--cc=alexander.deucher@amd.com \
--cc=john.clements@amd.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome