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]
Date:   Fri, 6 Aug 2021 07:17:21 +0800
From:   kernel test robot <lkp@...el.com>
To:     John Clements <john.clements@....com>
Cc:     clang-built-linux@...glegroups.com, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org, Guchun Chen <guchun.chen@....com>
Subject: [agd5f:amd-staging-drm-next 439/449]
 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:503:6: warning: no previous
 prototype for function 'release_psp_cmd_buf'

tree:   https://gitlab.freedesktop.org/agd5f/linux.git amd-staging-drm-next
head:   78fa5a7cb8bf43983026c16f5a8c07c15481a39a
commit: 4c8fcdd6005b92377ea0eb3d436c26fdf4557cfe [439/449] drm/amdgpu: added synchronization for psp cmd buf access
config: x86_64-randconfig-a006-20210804 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 31a71a393f65d9e07b5b0756fef9dd16690950ee)
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 remote add agd5f https://gitlab.freedesktop.org/agd5f/linux.git
        git fetch --no-tags agd5f amd-staging-drm-next
        git checkout 4c8fcdd6005b92377ea0eb3d436c26fdf4557cfe
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

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 >>):

>> drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:503:6: warning: no previous prototype for function 'release_psp_cmd_buf' [-Wmissing-prototypes]
   void release_psp_cmd_buf(struct psp_context *psp)
        ^
   drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:503:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void release_psp_cmd_buf(struct psp_context *psp)
   ^
   static 
   1 warning generated.


vim +/release_psp_cmd_buf +503 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c

   502	
 > 503	void release_psp_cmd_buf(struct psp_context *psp)
   504	{
   505		mutex_unlock(&psp->mutex);
   506	}
   507	

---
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" (36165 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ