[linux-next:master 8021/8813] drivers/gpu/drm/amd/amdgpu/../display/dc/virtual/virtual_link_hwss.c:40:6: warning: no previous prototype for function 'virtual_disable_link_output'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   483fed3b5dc8ce3644c83d24240cf5756fb0993e
commit: 9c75891feef0f9f67cf1c8f8038371006e25d23f [8021/8813] drm/amd/display: rework recent update PHY state commit
config: powerpc-randconfig-r006-20220921 (https://download.01.org/0day-ci/archive/20220922/202209220019.Yr2VuXhg-lkp@xxxxxxxxx/config)
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 791a7ae1ba3efd6bca96338e10ffde557ba83920)
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
        # install powerpc cross compiling tool for clang build
        # apt-get install binutils-powerpc-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=9c75891feef0f9f67cf1c8f8038371006e25d23f
        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 9c75891feef0f9f67cf1c8f8038371006e25d23f
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=powerpc SHELL=/bin/bash drivers/gpu/drm/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/amd/amdgpu/../display/dc/virtual/virtual_link_hwss.c:40:6: warning: no previous prototype for function 'virtual_disable_link_output' [-Wmissing-prototypes]
   void virtual_disable_link_output(struct dc_link *link,
        ^
   drivers/gpu/drm/amd/amdgpu/../display/dc/virtual/virtual_link_hwss.c:40:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void virtual_disable_link_output(struct dc_link *link,
   ^
   static 
   1 warning generated.


vim +/virtual_disable_link_output +40 drivers/gpu/drm/amd/amdgpu/../display/dc/virtual/virtual_link_hwss.c

    39	
  > 40	void virtual_disable_link_output(struct dc_link *link,
    41		const struct link_resource *link_res,
    42		enum signal_type signal)
    43	{
    44	}
    45	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux