All of lore.kernel.org
 help / color / mirror / Atom feed
* [intel-linux-intel-lts:4.19/android_r 19120/22085] drivers/gpu/drm/i915/intel_hdcp.c:183:28: error: no previous prototype for function 'conn_to_dig_port'
@ 2021-03-09 14:30 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-03-09 14:30 UTC (permalink / raw)
  To: kbuild-all

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

Hi Kris,

FYI, the error/warning still remains.

tree:   https://github.com/intel/linux-intel-lts.git 4.19/android_r
head:   42da0a5bc28f55c05347ef8eb88d9e41f369333e
commit: b652a52d36a85d1b731921ba08e701d7150ce200 [19120/22085] Merge branch 'aosp/android-4.19-stable' into android_r
config: x86_64-randconfig-a001-20210309 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 820f508b08d7c94b2dd7847e9710d2bc36d3dd45)
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
        # https://github.com/intel/linux-intel-lts/commit/b652a52d36a85d1b731921ba08e701d7150ce200
        git remote add intel-linux-intel-lts https://github.com/intel/linux-intel-lts.git
        git fetch --no-tags intel-linux-intel-lts 4.19/android_r
        git checkout b652a52d36a85d1b731921ba08e701d7150ce200
        # 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 errors (new ones prefixed by >>):

>> drivers/gpu/drm/i915/intel_hdcp.c:183:28: error: no previous prototype for function 'conn_to_dig_port' [-Werror,-Wmissing-prototypes]
   struct intel_digital_port *conn_to_dig_port(struct intel_connector *connector)
                              ^
   drivers/gpu/drm/i915/intel_hdcp.c:183:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   struct intel_digital_port *conn_to_dig_port(struct intel_connector *connector)
   ^
   static 
>> drivers/gpu/drm/i915/intel_hdcp.c:846:5: error: no previous prototype for function 'intel_hdcp_enable' [-Werror,-Wmissing-prototypes]
   int intel_hdcp_enable(struct intel_connector *connector)
       ^
   drivers/gpu/drm/i915/intel_hdcp.c:846:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int intel_hdcp_enable(struct intel_connector *connector)
   ^
   static 
>> drivers/gpu/drm/i915/intel_hdcp.c:858:5: error: no previous prototype for function 'intel_hdcp_disable' [-Werror,-Wmissing-prototypes]
   int intel_hdcp_disable(struct intel_connector *connector)
       ^
   drivers/gpu/drm/i915/intel_hdcp.c:858:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int intel_hdcp_disable(struct intel_connector *connector)
   ^
   static 
   3 errors generated.
--
>> drivers/gpu/drm/i915/i915_gem_gvtbuffer.c:116:1: error: no previous prototype for function 'i915_gem_object_create_gvtbuffer' [-Werror,-Wmissing-prototypes]
   i915_gem_object_create_gvtbuffer(struct drm_device *dev,
   ^
   drivers/gpu/drm/i915/i915_gem_gvtbuffer.c:115:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   struct drm_i915_gem_object *
   ^
   static 
   1 error generated.
--
>> drivers/gpu/drm/i915/gvt/display.c:527:5: error: no previous prototype for function 'bxt_check_planes' [-Werror,-Wmissing-prototypes]
   int bxt_check_planes(struct intel_vgpu *vgpu, int pipe)
       ^
   drivers/gpu/drm/i915/gvt/display.c:527:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int bxt_check_planes(struct intel_vgpu *vgpu, int pipe)
   ^
   static 
>> drivers/gpu/drm/i915/gvt/display.c:543:6: error: no previous prototype for function 'intel_gvt_init_pipe_info' [-Werror,-Wmissing-prototypes]
   void intel_gvt_init_pipe_info(struct intel_gvt *gvt)
        ^
   drivers/gpu/drm/i915/gvt/display.c:543:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void intel_gvt_init_pipe_info(struct intel_gvt *gvt)
   ^
   static 
>> drivers/gpu/drm/i915/gvt/display.c:568:5: error: no previous prototype for function 'setup_virtual_monitors' [-Werror,-Wmissing-prototypes]
   int setup_virtual_monitors(struct intel_vgpu *vgpu)
       ^
   drivers/gpu/drm/i915/gvt/display.c:568:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int setup_virtual_monitors(struct intel_vgpu *vgpu)
   ^
   static 
>> drivers/gpu/drm/i915/gvt/display.c:606:6: error: no previous prototype for function 'clean_virtual_monitors' [-Werror,-Wmissing-prototypes]
   void clean_virtual_monitors(struct intel_vgpu *vgpu)
        ^
   drivers/gpu/drm/i915/gvt/display.c:606:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void clean_virtual_monitors(struct intel_vgpu *vgpu)
   ^
   static 
   4 errors generated.


vim +/conn_to_dig_port +183 drivers/gpu/drm/i915/intel_hdcp.c

ee5e5e7a5e0fde Sean Paul            2018-01-08  182  
54c9b1c8df1df8 Romli, Khairul Anuar 2018-10-09 @183  struct intel_digital_port *conn_to_dig_port(struct intel_connector *connector)
54c9b1c8df1df8 Romli, Khairul Anuar 2018-10-09  184  {
54c9b1c8df1df8 Romli, Khairul Anuar 2018-10-09  185  	return enc_to_dig_port(&intel_attached_encoder(&connector->base)->base);
54c9b1c8df1df8 Romli, Khairul Anuar 2018-10-09  186  }
54c9b1c8df1df8 Romli, Khairul Anuar 2018-10-09  187  

:::::: The code at line 183 was first introduced by commit
:::::: 54c9b1c8df1df89c0173aad2d559884a305c797c drm/i915: Passing the intel_connector to HDCP auth

:::::: TO: Romli, Khairul Anuar <khairul.anuar.romli@intel.com>
:::::: CC: Pan, Kris <kris.pan@intel.com>

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

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

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

only message in thread, other threads:[~2021-03-09 14:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-09 14:30 [intel-linux-intel-lts:4.19/android_r 19120/22085] drivers/gpu/drm/i915/intel_hdcp.c:183:28: error: no previous prototype for function 'conn_to_dig_port' 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.