All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [chrome-os:chromeos-5.10 14052/15491] drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:1638:16: error: no previous prototype for function 'dpcd_configure_channel_coding'
Date: Sat, 03 Jul 2021 05:00:40 +0800	[thread overview]
Message-ID: <202107030535.yn2aOhfL-lkp@intel.com> (raw)

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

tree:   https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.10
head:   a7bda7faa61f2db4f9621b6f74c3bfae5116f7e8
commit: 6dc1da9d1b725e1e10913542997534d8c560e280 [14052/15491] UPSTREAM: drm/amd/display: add exit training mode and update channel coding in LT
config: arm-randconfig-r023-20210702 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 9eb613b2de3163686b1a4bd1160f15ac56a4b083)
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 arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        git remote add chrome-os https://chromium.googlesource.com/chromiumos/third_party/kernel
        git fetch --no-tags chrome-os chromeos-5.10
        git checkout 6dc1da9d1b725e1e10913542997534d8c560e280
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm 

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/amd/amdgpu/../display/dc/core/dc_link_dp.c:1370:16: error: no previous prototype for function 'configure_lttpr_mode_transparent' [-Werror,-Wmissing-prototypes]
   enum dc_status configure_lttpr_mode_transparent(struct dc_link *link)
                  ^
   drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:1370:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   enum dc_status configure_lttpr_mode_transparent(struct dc_link *link)
   ^
   static 
   drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:1381:16: error: no previous prototype for function 'configure_lttpr_mode_non_transparent' [-Werror,-Wmissing-prototypes]
   enum dc_status configure_lttpr_mode_non_transparent(
                  ^
   drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:1381:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   enum dc_status configure_lttpr_mode_non_transparent(
   ^
   static 
>> drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:1638:16: error: no previous prototype for function 'dpcd_configure_channel_coding' [-Werror,-Wmissing-prototypes]
   enum dc_status dpcd_configure_channel_coding(struct dc_link *link,
                  ^
   drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:1638:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   enum dc_status dpcd_configure_channel_coding(struct dc_link *link,
   ^
   static 
   3 errors generated.


vim +/dpcd_configure_channel_coding +1638 drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c

  1637	
> 1638	enum dc_status dpcd_configure_channel_coding(struct dc_link *link,
  1639			struct link_training_settings *lt_settings)
  1640	{
  1641		enum dp_link_encoding encoding =
  1642				dp_get_link_encoding_format(
  1643						&lt_settings->link_settings);
  1644		enum dc_status status;
  1645	
  1646		status = core_link_write_dpcd(
  1647				link,
  1648				DP_MAIN_LINK_CHANNEL_CODING_SET,
  1649				(uint8_t *) &encoding,
  1650				1);
  1651		DC_LOG_HW_LINK_TRAINING("%s:\n 0x%X MAIN_LINK_CHANNEL_CODING_SET = %x\n",
  1652						__func__,
  1653						DP_MAIN_LINK_CHANNEL_CODING_SET,
  1654						encoding);
  1655	
  1656		return status;
  1657	}
  1658	

---
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: 27915 bytes --]

                 reply	other threads:[~2021-07-02 21:00 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=202107030535.yn2aOhfL-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.