linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [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
@ 2021-01-19 10:13 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-01-19 10:13 UTC (permalink / raw)
  To: Alex Deucher; +Cc: kbuild-all, Linux Memory Management List

[-- Attachment #1: Type: text/plain, Size: 4461 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: ia64-allmodconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 9.3.0
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://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=gcc-9.3.0 make.cross ARCH=ia64 

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

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for FRAME_POINTER
   Depends on DEBUG_KERNEL && (M68K || UML || SUPERH) || ARCH_WANT_FRAME_POINTERS
   Selected by
   - FAULT_INJECTION_STACKTRACE_FILTER && FAULT_INJECTION_DEBUG_FS && STACKTRACE_SUPPORT && !X86_64 && !MIPS && !PPC && !S390 && !MICROBLAZE && !ARM && !ARC && !X86


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [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
@ 2021-01-19 11:02 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-01-19 11:02 UTC (permalink / raw)
  To: Alex Deucher; +Cc: kbuild-all, clang-built-linux, Linux Memory Management List

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-19 11:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2021-01-19 11:02 kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox