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: <202210032005.aXr0uYpr-lkp@intel.com>
Date:   Mon, 3 Oct 2022 20:51:04 +0800
From:   kernel test robot <lkp@...el.com>
To:     Nicholas Kazlauskas <nicholas.kazlauskas@....com>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org,
        Alex Deucher <alexander.deucher@....com>,
        Syed Hassan <Syed.Hassan@....com>
Subject: drivers/gpu/drm/amd/amdgpu/../display/dc/dcn314/dcn314_dio_stream_encoder.c:265:6:
 warning: no previous prototype for function 'enc314_stream_encoder_dp_blank'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   4fe89d07dcc2804c8b562f6c7896a45643d34b2f
commit: 85096a73f4dc223b5848e41ce40afc5ee913079e drm/amd/display: Add explicit FIFO disable for DP blank
date:   6 days ago
config: x86_64-buildonly-randconfig-r005-20221003
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
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
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=85096a73f4dc223b5848e41ce40afc5ee913079e
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 85096a73f4dc223b5848e41ce40afc5ee913079e
        # 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=x86_64 SHELL=/bin/bash drivers/gpu/drm/

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

All warnings (new ones prefixed by >>):

   drivers/gpu/drm/amd/amdgpu/../display/dc/dcn314/dcn314_dio_stream_encoder.c:84:6: warning: no previous prototype for function 'enc314_stream_encoder_dvi_set_stream_attribute' [-Wmissing-prototypes]
   void enc314_stream_encoder_dvi_set_stream_attribute(
        ^
   drivers/gpu/drm/amd/amdgpu/../display/dc/dcn314/dcn314_dio_stream_encoder.c:84:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void enc314_stream_encoder_dvi_set_stream_attribute(
   ^
   static 
>> drivers/gpu/drm/amd/amdgpu/../display/dc/dcn314/dcn314_dio_stream_encoder.c:265:6: warning: no previous prototype for function 'enc314_stream_encoder_dp_blank' [-Wmissing-prototypes]
   void enc314_stream_encoder_dp_blank(
        ^
   drivers/gpu/drm/amd/amdgpu/../display/dc/dcn314/dcn314_dio_stream_encoder.c:265:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void enc314_stream_encoder_dp_blank(
   ^
   static 
   2 warnings generated.


vim +/enc314_stream_encoder_dp_blank +265 drivers/gpu/drm/amd/amdgpu/../display/dc/dcn314/dcn314_dio_stream_encoder.c

   264	
 > 265	void enc314_stream_encoder_dp_blank(
   266		struct dc_link *link,
   267		struct stream_encoder *enc)
   268	{
   269		/* New to DCN314 - disable the FIFO before VID stream disable. */
   270		enc314_disable_fifo(enc);
   271	
   272		enc1_stream_encoder_dp_blank(link, enc);
   273	}
   274	

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

View attachment "config" of type "text/plain" (204791 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ