Hi Baolin, [auto build test ERROR on v4.9-rc8] [cannot apply to balbi-usb/next usb/usb-testing battery/master next-20170220] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Baolin-Wang/Introduce-usb-charger-framework-to-deal-with-the-usb-gadget-power-negotation/20170220-173051 config: i386-randconfig-x015-201708 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): In file included from drivers/usb/gadget/udc/core.c:28:0: include/linux/usb/charger.h: In function 'usb_charger_get_state': >> include/linux/usb/charger.h:151:9: error: 'USB_CHARGER_REMOVE' undeclared (first use in this function) return USB_CHARGER_REMOVE; ^~~~~~~~~~~~~~~~~~ include/linux/usb/charger.h:151:9: note: each undeclared identifier is reported only once for each function it appears in vim +/USB_CHARGER_REMOVE +151 include/linux/usb/charger.h 28929615 Baolin Wang 2017-02-20 145 return UNKNOWN_TYPE; 28929615 Baolin Wang 2017-02-20 146 } 28929615 Baolin Wang 2017-02-20 147 28929615 Baolin Wang 2017-02-20 148 static inline enum usb_charger_state 28929615 Baolin Wang 2017-02-20 149 usb_charger_get_state(struct usb_charger *uchger) 28929615 Baolin Wang 2017-02-20 150 { 28929615 Baolin Wang 2017-02-20 @151 return USB_CHARGER_REMOVE; 28929615 Baolin Wang 2017-02-20 152 } 28929615 Baolin Wang 2017-02-20 153 28929615 Baolin Wang 2017-02-20 154 static inline int usb_charger_detect_type(struct usb_charger *uchger) :::::: The code at line 151 was first introduced by commit :::::: 289296154f05985dedc08273f04d5b738450b3c7 usb: gadget: Introduce the usb charger framework :::::: TO: Baolin Wang <baolin.wang@xxxxxxxxxx> :::::: CC: 0day robot <fengguang.wu@xxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip