All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 5590/7024] drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/vangogh_ppt.c:764:5: warning: no previous prototype for 'vangogh_set_default_dpm_tables'
@ 2020-11-19 22:16 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-11-19 22:16 UTC (permalink / raw)
  To: Xiaojian Du
  Cc: kbuild-all, Linux Memory Management List, Alex Deucher,
	Evan Quan, Huang Rui

[-- Attachment #1: Type: text/plain, Size: 2688 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   f8550c0d35df3d027724b250a8c5888dfb2fa749
commit: c98ee89736b80fd1d4f4cdd0b0b9c6ce66f5d666 [5590/7024] drm/amd/pm: add the fine grain tuning function for vangogh
config: microblaze-randconfig-r006-20201119 (attached as .config)
compiler: microblaze-linux-gcc (GCC) 9.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
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=c98ee89736b80fd1d4f4cdd0b0b9c6ce66f5d666
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout c98ee89736b80fd1d4f4cdd0b0b9c6ce66f5d666
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=microblaze 

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/vangogh_ppt.c: In function 'vangogh_get_current_activity_percent':
   drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/vangogh_ppt.c:403:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
     403 |  int ret = 0;
         |      ^~~
   drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/vangogh_ppt.c: At top level:
>> drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/vangogh_ppt.c:764:5: warning: no previous prototype for 'vangogh_set_default_dpm_tables' [-Wmissing-prototypes]
     764 | int vangogh_set_default_dpm_tables(struct smu_context *smu)
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   In file included from drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/vangogh_ppt.c:28:
   drivers/gpu/drm/amd/amdgpu/../pm/inc/smu_v11_0.h:61:43: warning: 'smu11_thermal_policy' defined but not used [-Wunused-const-variable=]
      61 | static const struct smu_temperature_range smu11_thermal_policy[] =
         |                                           ^~~~~~~~~~~~~~~~~~~~

vim +/vangogh_set_default_dpm_tables +764 drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/vangogh_ppt.c

   763	
 > 764	int vangogh_set_default_dpm_tables(struct smu_context *smu)
   765	{
   766		struct smu_table_context *smu_table = &smu->smu_table;
   767	
   768		return smu_cmn_update_table(smu, SMU_TABLE_DPMCLOCKS, 0, smu_table->clocks_table, false);
   769	}
   770	

---
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: 22226 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [linux-next:master 5590/7024] drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/vangogh_ppt.c:764:5: warning: no previous prototype for 'vangogh_set_default_dpm_tables'
@ 2020-11-19 22:16 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-11-19 22:16 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2737 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   f8550c0d35df3d027724b250a8c5888dfb2fa749
commit: c98ee89736b80fd1d4f4cdd0b0b9c6ce66f5d666 [5590/7024] drm/amd/pm: add the fine grain tuning function for vangogh
config: microblaze-randconfig-r006-20201119 (attached as .config)
compiler: microblaze-linux-gcc (GCC) 9.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
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=c98ee89736b80fd1d4f4cdd0b0b9c6ce66f5d666
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout c98ee89736b80fd1d4f4cdd0b0b9c6ce66f5d666
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=microblaze 

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/vangogh_ppt.c: In function 'vangogh_get_current_activity_percent':
   drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/vangogh_ppt.c:403:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
     403 |  int ret = 0;
         |      ^~~
   drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/vangogh_ppt.c: At top level:
>> drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/vangogh_ppt.c:764:5: warning: no previous prototype for 'vangogh_set_default_dpm_tables' [-Wmissing-prototypes]
     764 | int vangogh_set_default_dpm_tables(struct smu_context *smu)
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   In file included from drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/vangogh_ppt.c:28:
   drivers/gpu/drm/amd/amdgpu/../pm/inc/smu_v11_0.h:61:43: warning: 'smu11_thermal_policy' defined but not used [-Wunused-const-variable=]
      61 | static const struct smu_temperature_range smu11_thermal_policy[] =
         |                                           ^~~~~~~~~~~~~~~~~~~~

vim +/vangogh_set_default_dpm_tables +764 drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/vangogh_ppt.c

   763	
 > 764	int vangogh_set_default_dpm_tables(struct smu_context *smu)
   765	{
   766		struct smu_table_context *smu_table = &smu->smu_table;
   767	
   768		return smu_cmn_update_table(smu, SMU_TABLE_DPMCLOCKS, 0, smu_table->clocks_table, false);
   769	}
   770	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 22226 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-19 22:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-19 22:16 [linux-next:master 5590/7024] drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/vangogh_ppt.c:764:5: warning: no previous prototype for 'vangogh_set_default_dpm_tables' kernel test robot
2020-11-19 22:16 ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.