tree: https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.4 head: ac4d903632c1b77bba5988200f71a3e0ca99e715 commit: e32446b689d9bd04346347591c9f2d6d60c0bbc4 [29/164] CHROMIUM: platform/chrome: pd_update: Use usbpd notifier config: i386-randconfig-f002-20200325 (attached as .config) compiler: gcc-7 (Debian 7.5.0-5) 7.5.0 reproduce: git checkout e32446b689d9bd04346347591c9f2d6d60c0bbc4 # save the attached .config to linux build tree make ARCH=i386 If you fix the issue, kindly add following tag Reported-by: kbuild test robot All errors (new ones prefixed by >>): ld: drivers/platform/chrome/cros_ec_pd_update.o: in function `plat_cros_ec_pd_remove': >> drivers/platform/chrome/cros_ec_pd_update.c:885: undefined reference to `cros_usbpd_unregister_notify' ld: drivers/platform/chrome/cros_ec_pd_update.o: in function `plat_cros_ec_pd_probe': >> drivers/platform/chrome/cros_ec_pd_update.c:872: undefined reference to `cros_usbpd_register_notify' vim +885 drivers/platform/chrome/cros_ec_pd_update.c 857 858 static int plat_cros_ec_pd_probe(struct platform_device *pdev) 859 { 860 struct device *dev = &pdev->dev; 861 struct cros_ec_pd_update_data *drv_data = 862 (struct cros_ec_pd_update_data *)dev_get_drvdata(dev); 863 int ret; 864 865 ret = cros_ec_pd_add(dev); 866 if (ret < 0) 867 return ret; 868 869 drv_data = (struct cros_ec_pd_update_data *)dev_get_drvdata(dev); 870 /* Get PD events from the EC */ 871 drv_data->notifier.notifier_call = _ec_pd_notify; > 872 ret = cros_usbpd_register_notify(&drv_data->notifier); 873 if (ret < 0) 874 dev_warn(dev, "failed to register notifier\n"); 875 876 return 0; 877 } 878 879 static int plat_cros_ec_pd_remove(struct platform_device *pdev) 880 { 881 struct device *dev = &pdev->dev; 882 struct cros_ec_pd_update_data *drv_data = 883 (struct cros_ec_pd_update_data *)dev_get_drvdata(dev); 884 > 885 cros_usbpd_unregister_notify(&drv_data->notifier); 886 887 return cros_ec_pd_remove(dev); 888 } 889 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org