From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [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'
Date: Tue, 09 Mar 2021 22:30:30 +0800 [thread overview]
Message-ID: <202103092212.ycjg2eBi-lkp@intel.com> (raw)
[-- 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 --]
reply other threads:[~2021-03-09 14:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202103092212.ycjg2eBi-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.