dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [radeon-alex:amd-staging-drm-next 357/442] drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3043:6: warning: no previous prototype for function 'dc_is_plane_eligible_for_idle_optimizaitons'
@ 2020-09-19 13:58 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-09-19 13:58 UTC (permalink / raw)
  To: Joshua Aberback
  Cc: clang-built-linux, Aurabindo Pillai, kbuild-all, dri-devel

[-- Attachment #1: Type: text/plain, Size: 2637 bytes --]

tree:   git://people.freedesktop.org/~agd5f/linux.git amd-staging-drm-next
head:   4589b6459d145ea133422b91be2f55a40fe74463
commit: cf3da8ea14f50741d6ddd3bee410459703036c4c [357/442] drm/amd/display: Update idle optimization handling
config: x86_64-randconfig-a002-20200919 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project ed79827aea444e6995fb3d36abc2bfd36331773c)
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 x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        git checkout cf3da8ea14f50741d6ddd3bee410459703036c4c
        # 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@intel.com>

All warnings (new ones prefixed by >>):

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

git remote add radeon-alex git://people.freedesktop.org/~agd5f/linux.git
git fetch --no-tags radeon-alex amd-staging-drm-next
git checkout cf3da8ea14f50741d6ddd3bee410459703036c4c
vim +/dc_is_plane_eligible_for_idle_optimizaitons +3043 drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c

  3042	
> 3043	bool dc_is_plane_eligible_for_idle_optimizaitons(struct dc *dc,

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 35073 bytes --]

[-- Attachment #3: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

only message in thread, other threads:[~2020-09-19 13:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-19 13:58 [radeon-alex:amd-staging-drm-next 357/442] drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3043:6: warning: no previous prototype for function 'dc_is_plane_eligible_for_idle_optimizaitons' 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;
as well as URLs for NNTP newsgroup(s).