Messages in this thread | | | Date | Thu, 30 Dec 2021 16:25:20 +0800 | From | kernel test robot <> | Subject | [agd5f:drm-next-5.17 92/342] drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/sienna_cichlid_ppt.c:3827:5: warning: no previous prototype for 'sienna_cichlid_stb_get_data_direct' |
| |
Hi Andrey,
FYI, the error/warning still remains.
tree: https://gitlab.freedesktop.org/agd5f/linux.git drm-next-5.17 head: 46dbcbf47e6871e142ada8a8188b7a4fc8f1d808 commit: db5b5c679e6cad2bb147337af6c378d278231b45 [92/342] drm/amd/pm: Add STB support in sienna_cichlid config: alpha-randconfig-r004-20211122 (https://download.01.org/0day-ci/archive/20211230/202112301643.dtvsIJca-lkp@intel.com/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 git remote add agd5f https://gitlab.freedesktop.org/agd5f/linux.git git fetch --no-tags agd5f drm-next-5.17 git checkout db5b5c679e6cad2bb147337af6c378d278231b45 # 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=alpha SHELL=/bin/bash drivers/gpu/drm/
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/../pm/swsmu/smu11/sienna_cichlid_ppt.c:3827:5: warning: no previous prototype for 'sienna_cichlid_stb_get_data_direct' [-Wmissing-prototypes] 3827 | int sienna_cichlid_stb_get_data_direct(struct smu_context *smu, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/sienna_cichlid_stb_get_data_direct +3827 drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/sienna_cichlid_ppt.c
3826 > 3827 int sienna_cichlid_stb_get_data_direct(struct smu_context *smu, 3828 void *buf, 3829 uint32_t size) 3830 { 3831 uint32_t *p = buf; 3832 struct amdgpu_device *adev = smu->adev; 3833 3834 /* No need to disable interrupts for now as we don't lock it yet from ISR */ 3835 spin_lock(&smu->stb_context.lock); 3836 3837 /* 3838 * Read the STB FIFO in units of 32bit since this is the accessor window 3839 * (register width) we have. 3840 */ 3841 buf = ((char *) buf) + size; 3842 while ((void *)p < buf) 3843 *p++ = cpu_to_le32(RREG32_PCIE(MP1_Public | smnMP1_PMI_3)); 3844 3845 spin_unlock(&smu->stb_context.lock); 3846 3847 return 0; 3848 } 3849
--- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
| |