[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 Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>

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@xxxxxxx>
:::::: CC: Alex Deucher <alexander.deucher@xxxxxxx>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux