[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CANLzEksGnyPEwx17m--T=FXTjFMyk3hU=hP_VfJo=gGYDOHTMg@mail.gmail.com>
Date: Tue, 15 Mar 2016 15:30:06 -0700
From: Benson Leung <bleung@...omium.org>
To: kbuild test robot <lkp@...el.com>
Cc: Tomeu Vizoso <tomeu.vizoso@...labora.com>, kbuild-all@...org,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Sameer Nanda <snanda@...omium.org>,
Javier Martinez Canillas <javier@....samsung.com>,
Lee Jones <lee.jones@...aro.org>,
Enric Balletbò <enric.balletbo@...labora.co.uk>,
Vic Yang <victoryang@...omium.org>,
Stephen Boyd <sboyd@...eaurora.org>,
Vincent Palatin <vpalatin@...omium.org>,
Randall Spangler <rspangler@...omium.org>,
Todd Broch <tbroch@...omium.org>,
Gwendal Grignou <gwendal@...omium.org>,
Shawn Nematbakhsh <shawnn@...omium.org>,
Sebastian Reichel <sre@...nel.org>,
Dmitry Eremin-Solenikov <dbaryshkov@...il.com>,
linux-pm@...r.kernel.org, David Woodhouse <dwmw2@...radead.org>
Subject: Re: [PATCH v4 5/6] power: cros_usbpd-charger: Add EC-based USB PD
charger driver
On Tue, Mar 8, 2016 at 10:09 AM, kbuild test robot <lkp@...el.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
bleung@...omium.org
Powered by blists - more mailing lists