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

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

tree:   https://github.com/intel/linux-intel-lts.git 4.19/android_r
head:   837dd4b8fea43d32a0966b3f343ad578a030c65b
commit: b652a52d36a85d1b731921ba08e701d7150ce200 [19120/24282] Merge branch 'aosp/android-4.19-stable' into android_r
config: x86_64-randconfig-a004-20210901 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 4b1fde8a2b681dad2ce0c082a5d6422caa06b0bc)
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://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 warnings (new ones prefixed by >>):

>> drivers/gpu/drm/i915/intel_hdcp.c:183:28: warning: no previous prototype for function 'conn_to_dig_port' [-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: warning: no previous prototype for function 'intel_hdcp_enable' [-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: warning: no previous prototype for function 'intel_hdcp_disable' [-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 warnings generated.
--
>> drivers/gpu/drm/i915/i915_gem.c:521:6: warning: no previous prototype for function 'i915_gem_obj_bound_any' [-Wmissing-prototypes]
   bool i915_gem_obj_bound_any(struct drm_i915_gem_object *o)
        ^
   drivers/gpu/drm/i915/i915_gem.c:521:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   bool i915_gem_obj_bound_any(struct drm_i915_gem_object *o)
   ^
   static 
   1 warning generated.
--
>> security/security.c:381:5: warning: no previous prototype for function 'lsm_file_alloc' [-Wmissing-prototypes]
   int lsm_file_alloc(struct file *file)
       ^
   security/security.c:381:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int lsm_file_alloc(struct file *file)
   ^
   static 
>> security/security.c:402:5: warning: no previous prototype for function 'lsm_task_alloc' [-Wmissing-prototypes]
   int lsm_task_alloc(struct task_struct *task)
       ^
   security/security.c:402:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int lsm_task_alloc(struct task_struct *task)
   ^
   static 
>> security/security.c:482:5: warning: no previous prototype for function 'lsm_ipc_alloc' [-Wmissing-prototypes]
   int lsm_ipc_alloc(struct kern_ipc_perm *kip)
       ^
   security/security.c:482:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int lsm_ipc_alloc(struct kern_ipc_perm *kip)
   ^
   static 
>> security/security.c:504:5: warning: no previous prototype for function 'lsm_key_alloc' [-Wmissing-prototypes]
   int lsm_key_alloc(struct key *key)
       ^
   security/security.c:504:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int lsm_key_alloc(struct key *key)
   ^
   static 
>> security/security.c:526:5: warning: no previous prototype for function 'lsm_msg_msg_alloc' [-Wmissing-prototypes]
   int lsm_msg_msg_alloc(struct msg_msg *mp)
       ^
   security/security.c:526:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int lsm_msg_msg_alloc(struct msg_msg *mp)
   ^
   static 
>> security/security.c:548:5: warning: no previous prototype for function 'lsm_sock_alloc' [-Wmissing-prototypes]
   int lsm_sock_alloc(struct sock *sock, gfp_t priority)
       ^
   security/security.c:548:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int lsm_sock_alloc(struct sock *sock, gfp_t priority)
   ^
   static 
>> security/security.c:569:5: warning: no previous prototype for function 'lsm_superblock_alloc' [-Wmissing-prototypes]
   int lsm_superblock_alloc(struct super_block *sb)
       ^
   security/security.c:569:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int lsm_superblock_alloc(struct super_block *sb)
   ^
   static 
   7 warnings generated.
   security/security.c:220: warning: Function parameter or member 'lsm' not described in 'security_module_enable'
   security/security.c:220: warning: Excess function parameter 'module' description in 'security_module_enable'
--
>> drivers/dma-buf/hyper_dmabuf/hyper_dmabuf_ops.c:128:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
           int ret;
               ^
   1 warning generated.
--
>> drivers/dma-buf/hyper_dmabuf/hyper_dmabuf_remote_sync.c:56:5: warning: no previous prototype for function 'hyper_dmabuf_remote_sync' [-Wmissing-prototypes]
   int hyper_dmabuf_remote_sync(hyper_dmabuf_id_t hid, int ops)
       ^
   drivers/dma-buf/hyper_dmabuf/hyper_dmabuf_remote_sync.c:56:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int hyper_dmabuf_remote_sync(hyper_dmabuf_id_t hid, int ops)
   ^
   static 
   1 warning generated.
--
>> drivers/dma-buf/hyper_dmabuf/hyper_dmabuf_query.c:38:5: warning: no previous prototype for function 'hyper_dmabuf_query_exported' [-Wmissing-prototypes]
   int hyper_dmabuf_query_exported(struct exported_sgt_info *exported,
       ^
   drivers/dma-buf/hyper_dmabuf/hyper_dmabuf_query.c:38:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int hyper_dmabuf_query_exported(struct exported_sgt_info *exported,
   ^
   static 
>> drivers/dma-buf/hyper_dmabuf/hyper_dmabuf_query.c:102:5: warning: no previous prototype for function 'hyper_dmabuf_query_imported' [-Wmissing-prototypes]
   int hyper_dmabuf_query_imported(struct imported_sgt_info *imported,
       ^
   drivers/dma-buf/hyper_dmabuf/hyper_dmabuf_query.c:102:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int hyper_dmabuf_query_imported(struct imported_sgt_info *imported,
   ^
   static 
   2 warnings 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: 33124 bytes --]

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

only message in thread, other threads:[~2021-09-02  1:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-02  1:31 [intel-linux-intel-lts:4.19/android_r 19120/24282] drivers/gpu/drm/i915/intel_hdcp.c:183:28: warning: 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.