public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* drivers/gpu/drm/amd/amdgpu/../display/dc/dcn31/dcn31_hubp.c:57:6: warning: no previous prototype for function 'hubp31_program_extended_blank'
@ 2022-04-11  4:57 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-04-11  4:57 UTC (permalink / raw)
  To: Gabe Teeger
  Cc: llvm, kbuild-all, linux-kernel, Alex Deucher, Nicholas Kazlauskas

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   ce522ba9ef7e2d9fb22a39eb3371c0c64e2a433e
commit: e5fc78252ccd8dfc260f87d83905e9dffff6d975 drm/amd/display: Add support for zstate during extended vblank
date:   2 weeks ago
config: x86_64-buildonly-randconfig-r003-20220411 (https://download.01.org/0day-ci/archive/20220411/202204111241.iI7F1kt8-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project c6e83f560f06cdfe8aa47b248d8bdc58f947274b)
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=e5fc78252ccd8dfc260f87d83905e9dffff6d975
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout e5fc78252ccd8dfc260f87d83905e9dffff6d975
        # save the config file to linux build tree
        mkdir build_dir
        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 as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/amd/amdgpu/../display/dc/dcn31/dcn31_hubp.c:57:6: warning: no previous prototype for function 'hubp31_program_extended_blank' [-Wmissing-prototypes]
   void hubp31_program_extended_blank(struct hubp *hubp, unsigned int min_dst_y_next_start_optimized)
        ^
   drivers/gpu/drm/amd/amdgpu/../display/dc/dcn31/dcn31_hubp.c:57:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void hubp31_program_extended_blank(struct hubp *hubp, unsigned int min_dst_y_next_start_optimized)
   ^
   static 
   1 warning generated.


vim +/hubp31_program_extended_blank +57 drivers/gpu/drm/amd/amdgpu/../display/dc/dcn31/dcn31_hubp.c

    56	
  > 57	void hubp31_program_extended_blank(struct hubp *hubp, unsigned int min_dst_y_next_start_optimized)
    58	{
    59		struct dcn20_hubp *hubp2 = TO_DCN20_HUBP(hubp);
    60	
    61		REG_SET(BLANK_OFFSET_1, 0, MIN_DST_Y_NEXT_START, min_dst_y_next_start_optimized);
    62	}
    63	

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

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

only message in thread, other threads:[~2022-04-11  4:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-11  4:57 drivers/gpu/drm/amd/amdgpu/../display/dc/dcn31/dcn31_hubp.c:57:6: warning: no previous prototype for function 'hubp31_program_extended_blank' 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