All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 7253/8914] drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:2720:6: warning: no previous prototype for function 'dc_reset_state'
@ 2022-07-08 17:16 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-07-08 17:16 UTC (permalink / raw)
  To: Rodrigo Siqueira
  Cc: llvm, kbuild-all, Linux Memory Management List, Alex Deucher

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   f2528c29385819a84480cacef4886b049761e2c5
commit: 97ca308925a50aa80711ccfaf814fa3898374862 [7253/8914] drm/amd/display: Add minimal pipe split transition state
config: riscv-randconfig-r006-20220707 (https://download.01.org/0day-ci/archive/20220709/202207090100.acXdJ79H-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 562c3467a6738aa89203f72fc1d1343e5baadf3c)
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 riscv cross compiling tool for clang build
        # apt-get install binutils-riscv64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=97ca308925a50aa80711ccfaf814fa3898374862
        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 97ca308925a50aa80711ccfaf814fa3898374862
        # 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=riscv SHELL=/bin/bash

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

All warnings (new ones prefixed by >>):

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


vim +/dc_reset_state +2720 drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c

  2719	
> 2720	void dc_reset_state(struct dc *dc, struct dc_state *context)
  2721	{
  2722		dc_resource_state_destruct(context);
  2723	
  2724		/* clear the structure, but don't reset the reference count */
  2725		memset(context, 0, offsetof(struct dc_state, refcount));
  2726	
  2727		init_state(dc, context);
  2728	}
  2729	

-- 
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-07-08 17:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-08 17:16 [linux-next:master 7253/8914] drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:2720:6: warning: no previous prototype for function 'dc_reset_state' kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.