linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Alex Deucher <alexander.deucher@amd.com>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
	Linux Memory Management List <linux-mm@kvack.org>
Subject: [linux-next:master 4321/4407] drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table_helper2.c:141: warning: expecting prototype for translate_transmitter_bp_to_atom2(). Prototype was for dal_cmd_table_helper_transmitter_bp_to_atom2() instead
Date: Tue, 19 Jan 2021 19:02:57 +0800	[thread overview]
Message-ID: <202101191950.lwQEmdiv-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   b4bb878f3eb3e604ebfe83bbc17eb7af8d99cbf4
commit: 49b1a685bb601e62b7fdccce8cfc040381b1d581 [4321/4407] Merge remote-tracking branch 'amdgpu/drm-next'
config: x86_64-randconfig-a005-20210118 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 22b68440e1647e16b5ee24b924986207173c02d1)
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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=49b1a685bb601e62b7fdccce8cfc040381b1d581
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout 49b1a685bb601e62b7fdccce8cfc040381b1d581
        # 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/bios/command_table_helper2.c:141: warning: expecting prototype for translate_transmitter_bp_to_atom2(). Prototype was for dal_cmd_table_helper_transmitter_bp_to_atom2() instead


vim +141 drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table_helper2.c

ae79c310b1a6f974 Harry Wentland 2017-03-06  129  
ae79c310b1a6f974 Harry Wentland 2017-03-06  130  /**
051a887f29350432 Lee Jones      2021-01-08  131   * translate_transmitter_bp_to_atom2 - Translate the Transmitter to the
051a887f29350432 Lee Jones      2021-01-08  132   *                                     corresponding ATOM BIOS value
051a887f29350432 Lee Jones      2021-01-08  133   *  @t: transmitter
051a887f29350432 Lee Jones      2021-01-08  134   *  returns: digitalTransmitter
ae79c310b1a6f974 Harry Wentland 2017-03-06  135   *    // =00: Digital Transmitter1 ( UNIPHY linkAB )
ae79c310b1a6f974 Harry Wentland 2017-03-06  136   *    // =01: Digital Transmitter2 ( UNIPHY linkCD )
ae79c310b1a6f974 Harry Wentland 2017-03-06  137   *    // =02: Digital Transmitter3 ( UNIPHY linkEF )
ae79c310b1a6f974 Harry Wentland 2017-03-06  138   */
ae79c310b1a6f974 Harry Wentland 2017-03-06  139  uint8_t dal_cmd_table_helper_transmitter_bp_to_atom2(
ae79c310b1a6f974 Harry Wentland 2017-03-06  140  	enum transmitter t)
ae79c310b1a6f974 Harry Wentland 2017-03-06 @141  {
ae79c310b1a6f974 Harry Wentland 2017-03-06  142  	switch (t) {
ae79c310b1a6f974 Harry Wentland 2017-03-06  143  	case TRANSMITTER_UNIPHY_A:
ae79c310b1a6f974 Harry Wentland 2017-03-06  144  	case TRANSMITTER_UNIPHY_B:
ae79c310b1a6f974 Harry Wentland 2017-03-06  145  	case TRANSMITTER_TRAVIS_LCD:
ae79c310b1a6f974 Harry Wentland 2017-03-06  146  		return 0;
ae79c310b1a6f974 Harry Wentland 2017-03-06  147  	case TRANSMITTER_UNIPHY_C:
ae79c310b1a6f974 Harry Wentland 2017-03-06  148  	case TRANSMITTER_UNIPHY_D:
ae79c310b1a6f974 Harry Wentland 2017-03-06  149  		return 1;
ae79c310b1a6f974 Harry Wentland 2017-03-06  150  	case TRANSMITTER_UNIPHY_E:
ae79c310b1a6f974 Harry Wentland 2017-03-06  151  	case TRANSMITTER_UNIPHY_F:
ae79c310b1a6f974 Harry Wentland 2017-03-06  152  		return 2;
ae79c310b1a6f974 Harry Wentland 2017-03-06  153  	default:
ae79c310b1a6f974 Harry Wentland 2017-03-06  154  		/* Invalid Transmitter Type! */
ae79c310b1a6f974 Harry Wentland 2017-03-06  155  		BREAK_TO_DEBUGGER();
ae79c310b1a6f974 Harry Wentland 2017-03-06  156  		return 0;
ae79c310b1a6f974 Harry Wentland 2017-03-06  157  	}
ae79c310b1a6f974 Harry Wentland 2017-03-06  158  }
ae79c310b1a6f974 Harry Wentland 2017-03-06  159  

:::::: The code at line 141 was first introduced by commit
:::::: ae79c310b1a6f97429a5784b65f125d9cc9c95b1 drm/amd/display: Add DCE12 bios parser support

:::::: TO: Harry Wentland <harry.wentland@amd.com>
:::::: CC: Alex Deucher <alexander.deucher@amd.com>

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

             reply	other threads:[~2021-01-19 11:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-19 11:02 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-01-19 10:13 [linux-next:master 4321/4407] drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table_helper2.c:141: warning: expecting prototype for translate_transmitter_bp_to_atom2(). Prototype was for dal_cmd_table_helper_transmitter_bp_to_atom2() instead kernel test robot

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=202101191950.lwQEmdiv-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=alexander.deucher@amd.com \
    --cc=clang-built-linux@googlegroups.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-mm@kvack.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 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).