Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933460AbcCOWaM (ORCPT ); Tue, 15 Mar 2016 18:30:12 -0400 Received: from mail-vk0-f49.google.com ([209.85.213.49]:36826 "EHLO mail-vk0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932815AbcCOWaH (ORCPT ); Tue, 15 Mar 2016 18:30:07 -0400 MIME-Version: 1.0 In-Reply-To: <201603090203.NRAyMe5M%fengguang.wu@intel.com> References: <1457433358-28151-6-git-send-email-tomeu.vizoso@collabora.com> <201603090203.NRAyMe5M%fengguang.wu@intel.com> Date: Tue, 15 Mar 2016 15:30:06 -0700 X-Google-Sender-Auth: 4_yly40pvy0CaX0fAyco-W4xgfw Message-ID: Subject: Re: [PATCH v4 5/6] power: cros_usbpd-charger: Add EC-based USB PD charger driver From: Benson Leung To: kbuild test robot Cc: Tomeu Vizoso , kbuild-all@01.org, "linux-kernel@vger.kernel.org" , Sameer Nanda , Javier Martinez Canillas , Lee Jones , =?UTF-8?Q?Enric_Balletb=C3=B2?= , Vic Yang , Stephen Boyd , Vincent Palatin , Randall Spangler , Todd Broch , Gwendal Grignou , Shawn Nematbakhsh , Sebastian Reichel , Dmitry Eremin-Solenikov , linux-pm@vger.kernel.org, David Woodhouse Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1765 Lines: 34 On Tue, Mar 8, 2016 at 10:09 AM, kbuild test robot 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 bleung@chromium.org