mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager.c:135:6: warning: no previous prototype for 'increment_queue_count'
@ 2020-06-17 19:36 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-06-17 19:36 UTC (permalink / raw)
  To: Yong Zhao; +Cc: kbuild-all, linux-kernel, Alex Deucher, Felix Kuehling

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-06-17 19:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-17 19:36 drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager.c:135:6: warning: no previous prototype for 'increment_queue_count' kernel test robot

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®