[agd5f:drm-next 41/57] drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:503:6: warning: no previous prototype for 'release_psp_cmd_buf'
From: kernel test robot
Date: Thu Aug 05 2021 - 09:07:08 EST
tree: https://gitlab.freedesktop.org/agd5f/linux.git drm-next
head: f5bb65b1b6213c07641c5e60c67fbcbb438705bc
commit: 908dada12cbe41ab5a218a8157631df48bded32b [41/57] drm/amdgpu: added synchronization for psp cmd buf access
config: i386-randconfig-r021-20210804 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
git remote add agd5f https://gitlab.freedesktop.org/agd5f/linux.git
git fetch --no-tags agd5f drm-next
git checkout 908dada12cbe41ab5a218a8157631df48bded32b
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:503:6: warning: no previous prototype for 'release_psp_cmd_buf' [-Wmissing-prototypes]
503 | void release_psp_cmd_buf(struct psp_context *psp)
| ^~~~~~~~~~~~~~~~~~~
vim +/release_psp_cmd_buf +503 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
502
> 503 void release_psp_cmd_buf(struct psp_context *psp)
504 {
505 mutex_unlock(&psp->mutex);
506 }
507
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip