On Tue, Mar 8, 2016 at 10:09 AM, kbuild test robot <l...@intel.com> wrote: > Hi Sameer, > > [auto build test WARNING on v4.5-rc7] > [also build test WARNING on next-20160308] > [if your patch is applied to the wrong git tree, please drop us a note to > help improving the system] > > url: > https://github.com/0day-ci/linux/commits/Tomeu-Vizoso/mfd-cros_ec-Add-MKBP-event-support/20160308-184326 > config: blackfin-allmodconfig (attached as .config) > reproduce: > wget > https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross > -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # save the attached .config to linux build tree > make.cross ARCH=blackfin > > All warnings (new ones prefixed by >>): > > drivers/power/cros_usbpd-charger.c: In function 'get_ec_usb_pd_power_info': > drivers/power/cros_usbpd-charger.c:241:21: error: > 'POWER_SUPPLY_TYPE_USB_PD_DRP' undeclared (first use in this function) > drivers/power/cros_usbpd-charger.c:241:21: note: each undeclared > identifier is reported only once for each function it appears in > drivers/power/cros_usbpd-charger.c:249:20: error: > 'POWER_SUPPLY_TYPE_USB_TYPE_C' undeclared (first use in this function) > drivers/power/cros_usbpd-charger.c:261:21: error: > 'POWER_SUPPLY_TYPE_USB_PD' undeclared (first use in this function)
I think this patch is being built with the wrong git tree. The new types for these three errors landed in sre's linux-power-supply here : https://git.kernel.org/cgit/linux/kernel/git/sre/linux-power-supply.git/commit/?h=next&id=6659b55dae09b2042d8cdd0f4576502c3e81957c It should be in most recent linux-nexts, but it wouldn't be in v4.5-rc7. -- Benson Leung Senior Software Engineer, Chrom* OS ble...@chromium.org