[arm-platforms:hack/t6002-usb3 9/12] atc.c:undefined reference to `typec_switch_get_drvdata'

kernel test robot lkp at intel.com
Sat May 14 13:50:27 PDT 2022


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git hack/t6002-usb3
head:   30d2219bc762b9d23343007bb6c5ee5285ef4cf3
commit: 9a6e9c551badd748a2585fbd53b86113d280ec92 [9/12] WIP: atcphy
config: arm64-buildonly-randconfig-r005-20220515 (https://download.01.org/0day-ci/archive/20220515/202205150403.9PUlazVv-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 11.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/maz/arm-platforms.git/commit/?id=9a6e9c551badd748a2585fbd53b86113d280ec92
        git remote add arm-platforms https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git
        git fetch --no-tags arm-platforms hack/t6002-usb3
        git checkout 9a6e9c551badd748a2585fbd53b86113d280ec92
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>

All errors (new ones prefixed by >>):

   aarch64-linux-ld: Unexpected GOT/PLT entries detected!
   aarch64-linux-ld: Unexpected run-time procedure linkages detected!
   aarch64-linux-ld: drivers/phy/apple/atc.o: in function `atcphy_sw_set':
>> atc.c:(.text+0x1d4): undefined reference to `typec_switch_get_drvdata'
   aarch64-linux-ld: drivers/phy/apple/atc.o: in function `atcphy_mux_set':
>> atc.c:(.text+0x2c8): undefined reference to `typec_mux_get_drvdata'
   aarch64-linux-ld: drivers/phy/apple/atc.o: in function `atcphy_probe':
>> atc.c:(.text+0x7d8): undefined reference to `typec_mux_register'
>> aarch64-linux-ld: atc.c:(.text+0x804): undefined reference to `typec_switch_register'

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp



More information about the linux-arm-kernel mailing list