* [radeon-alex:amd-staging-drm-next 471/482] drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:1502:6: warning: no previous prototype for function 'amdgpu_ras_error_status_query'
@ 2020-09-22 23:23 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-09-22 23:23 UTC (permalink / raw)
To: Stanley.Yang; +Cc: clang-built-linux, kbuild-all, dri-devel, Hawking Zhang
[-- Attachment #1: Type: text/plain, Size: 3046 bytes --]
tree: git://people.freedesktop.org/~agd5f/linux.git amd-staging-drm-next
head: 6fe4a372821db85834f5522d94d25139ff17e414
commit: 4484ea5dfcbb092d856aee77aee01b36ff76d389 [471/482] drm/amdgpu: update athub interrupt harvesting handle
config: x86_64-randconfig-a014-20200922 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 6a6b06f5262bb96523eceef4a42fe8e60ae2a630)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git checkout 4484ea5dfcbb092d856aee77aee01b36ff76d389
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
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:906:5: warning: no previous prototype for function 'amdgpu_ras_error_cure' [-Wmissing-prototypes]
int amdgpu_ras_error_cure(struct amdgpu_device *adev,
^
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:906:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int amdgpu_ras_error_cure(struct amdgpu_device *adev,
^
static
>> drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:1502:6: warning: no previous prototype for function 'amdgpu_ras_error_status_query' [-Wmissing-prototypes]
void amdgpu_ras_error_status_query(struct amdgpu_device *adev,
^
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:1502:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void amdgpu_ras_error_status_query(struct amdgpu_device *adev,
^
static
2 warnings generated.
git remote add radeon-alex git://people.freedesktop.org/~agd5f/linux.git
git fetch --no-tags radeon-alex amd-staging-drm-next
git checkout 4484ea5dfcbb092d856aee77aee01b36ff76d389
vim +/amdgpu_ras_error_status_query +1502 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
1500
1501 /* Parse RdRspStatus and WrRspStatus */
> 1502 void amdgpu_ras_error_status_query(struct amdgpu_device *adev,
1503 struct ras_query_if *info)
1504 {
1505 /*
1506 * Only two block need to query read/write
1507 * RspStatus at current state
1508 */
1509 switch (info->head.block) {
1510 case AMDGPU_RAS_BLOCK__GFX:
1511 if (adev->gfx.funcs->query_ras_error_status)
1512 adev->gfx.funcs->query_ras_error_status(adev);
1513 break;
1514 case AMDGPU_RAS_BLOCK__MMHUB:
1515 if (adev->mmhub.funcs->query_ras_error_status)
1516 adev->mmhub.funcs->query_ras_error_status(adev);
1517 break;
1518 default:
1519 break;
1520 }
1521 }
1522
---
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: 36114 bytes --]
[-- Attachment #3: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-09-22 23:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-22 23:23 [radeon-alex:amd-staging-drm-next 471/482] drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:1502:6: warning: no previous prototype for function 'amdgpu_ras_error_status_query' 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