lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202006180347.p9nC7jm2%lkp@intel.com>
Date:   Thu, 18 Jun 2020 03:36:51 +0800
From:   kernel test robot <lkp@...el.com>
To:     Yong Zhao <Yong.Zhao@....com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Alex Deucher <alexander.deucher@....com>,
        Felix Kuehling <Felix.Kuehling@....com>
Subject: drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager.c:135:6:
 warning: no previous prototype for 'increment_queue_count'

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@...el.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

Download attachment ".config.gz" of type "application/gzip" (64600 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ