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/commi...
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(a)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(a)amd.com>
:::::: CC: Alex Deucher <alexander.deucher(a)amd.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org