mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Yong Zhao <Yong.Zhao@amd.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Alex Deucher <alexander.deucher@amd.com>,
	Felix Kuehling <Felix.Kuehling@amd.com>
Subject: drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager.c:135:6: warning: no previous prototype for 'increment_queue_count'
Date: Thu, 18 Jun 2020 03:36:51 +0800	[thread overview]
Message-ID: <202006180347.p9nC7jm2%lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   1b5044021070efa3259f3e9548dc35d1eb6aa844
commit: b42902f4af8fecd2781f71ad166e8a807edb1053 drm/amdkfd: Count active CP queues directly
date:   4 months ago
config: powerpc-allyesconfig (attached as .config)
compiler: powerpc64-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
        git checkout b42902f4af8fecd2781f71ad166e8a807edb1053
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc 

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 >>, old ones prefixed by <<):

>> drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager.c:135:6: warning: no previous prototype for 'increment_queue_count' [-Wmissing-prototypes]
135 | void increment_queue_count(struct device_queue_manager *dqm,
|      ^~~~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager.c:143:6: warning: no previous prototype for 'decrement_queue_count' [-Wmissing-prototypes]
143 | void decrement_queue_count(struct device_queue_manager *dqm,
|      ^~~~~~~~~~~~~~~~~~~~~

vim +/increment_queue_count +135 drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager.c

   134	
 > 135	void increment_queue_count(struct device_queue_manager *dqm,
   136				enum kfd_queue_type type)
   137	{
   138		dqm->active_queue_count++;
   139		if (type == KFD_QUEUE_TYPE_COMPUTE || type == KFD_QUEUE_TYPE_DIQ)
   140			dqm->active_cp_queue_count++;
   141	}
   142	
 > 143	void decrement_queue_count(struct device_queue_manager *dqm,
   144				enum kfd_queue_type type)
   145	{
   146		dqm->active_queue_count--;
   147		if (type == KFD_QUEUE_TYPE_COMPUTE || type == KFD_QUEUE_TYPE_DIQ)
   148			dqm->active_cp_queue_count--;
   149	}
   150	

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

                 reply	other threads:[~2020-06-17 19:38 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=202006180347.p9nC7jm2%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=Felix.Kuehling@amd.com \
    --cc=Yong.Zhao@amd.com \
    --cc=alexander.deucher@amd.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®