[agd5f:amd-staging-drm-next 439/444] 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:46:01 EST


tree: https://gitlab.freedesktop.org/agd5f/linux.git amd-staging-drm-next
head: 5cf164d61a525c23db7aa79b175b98e6a2bd12ee
commit: 4c8fcdd6005b92377ea0eb3d436c26fdf4557cfe [439/444] drm/amdgpu: added synchronization for psp cmd buf access
config: alpha-randconfig-p002-20210804 (attached as .config)
compiler: alpha-linux-gcc (GCC) 10.3.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 amd-staging-drm-next
git checkout 4c8fcdd6005b92377ea0eb3d436c26fdf4557cfe
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross ARCH=alpha

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