linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Xiaojian Du <Xiaojian.Du@amd.com>
Cc: kbuild-all@lists.01.org,
	Linux Memory Management List <linux-mm@kvack.org>,
	Alex Deucher <alexander.deucher@amd.com>,
	Evan Quan <evan.quan@amd.com>, Huang Rui <ray.huang@amd.com>
Subject: [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'
Date: Fri, 20 Nov 2020 06:16:15 +0800	[thread overview]
Message-ID: <202011200612.K2pdCScF-lkp@intel.com> (raw)

[-- 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 --]

                 reply	other threads:[~2020-11-19 22:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202011200612.K2pdCScF-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=Xiaojian.Du@amd.com \
    --cc=alexander.deucher@amd.com \
    --cc=evan.quan@amd.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-mm@kvack.org \
    --cc=ray.huang@amd.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).