linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org,
	"Sameer Nanda" <snanda@chromium.org>,
	"Javier Martinez Canillas" <javier@osg.samsung.com>,
	"Lee Jones" <lee.jones@linaro.org>,
	"Benson Leung" <bleung@chromium.org>,
	"Enric Balletbò" <enric.balletbo@collabora.co.uk>,
	"Vic Yang" <victoryang@chromium.org>,
	"Stephen Boyd" <sboyd@codeaurora.org>,
	"Vincent Palatin" <vpalatin@chromium.org>,
	"Randall Spangler" <rspangler@chromium.org>,
	"Todd Broch" <tbroch@chromium.org>,
	"Gwendal Grignou" <gwendal@chromium.org>,
	"Tomeu Vizoso" <tomeu.vizoso@collabora.com>,
	"Shawn Nematbakhsh" <shawnn@chromium.org>,
	"Sebastian Reichel" <sre@kernel.org>,
	"Dmitry Eremin-Solenikov" <dbaryshkov@gmail.com>,
	linux-pm@vger.kernel.org, "David Woodhouse" <dwmw2@infradead.org>
Subject: Re: [PATCH v4 5/6] power: cros_usbpd-charger: Add EC-based USB PD charger driver
Date: Wed, 9 Mar 2016 02:09:08 +0800	[thread overview]
Message-ID: <201603090203.NRAyMe5M%fengguang.wu@intel.com> (raw)
In-Reply-To: <1457433358-28151-6-git-send-email-tomeu.vizoso@collabora.com>

[-- Attachment #1: Type: text/plain, Size: 2584 bytes --]

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)
   drivers/power/cros_usbpd-charger.c: In function 'cros_usb_pd_print_log_entry':
>> drivers/power/cros_usbpd-charger.c:527:2: warning: comparison of distinct pointer types lacks a cast [enabled by default]

vim +527 drivers/power/cros_usbpd-charger.c

   511				      MCDP_FAMILY(minfo->family),
   512				      MCDP_CHIPID(minfo->chipid),
   513				      minfo->irom.major, minfo->irom.minor,
   514				      minfo->irom.build, minfo->fw.major,
   515				      minfo->fw.minor, minfo->fw.build);
   516			break;
   517		default:
   518			APPEND_STRING(buf, len,
   519				"Event %02x (%04x) [", r->type, r->data);
   520			for (i = 0; i < PD_LOG_SIZE(r->size_port); i++)
   521				APPEND_STRING(buf, len, "%02x ", r->payload[i]);
   522			APPEND_STRING(buf, len, "]");
   523			break;
   524		}
   525	
   526		msecs = ktime_to_ms(tstamp);
 > 527		do_div(msecs, MSEC_PER_SEC);
   528		pr_info("PDLOG %d/%02d/%02d %02d:%02d:%02d.%03lld P%d %s\n",
   529			rt.tm_year + 1900, rt.tm_mon + 1, rt.tm_mday,
   530			rt.tm_hour, rt.tm_min, rt.tm_sec, msecs,
   531			PD_LOG_PORT(r->size_port), buf);
   532	}
   533	
   534	static void cros_usb_pd_log_check(struct work_struct *work)
   535	{

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 39338 bytes --]

  reply	other threads:[~2016-03-08 18:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-08 10:35 [PATCH v4 0/6] EC-based USB Power Delivery support for Chrome machines Tomeu Vizoso
2016-03-08 10:35 ` [PATCH v4 1/6] mfd: cros_ec: Add MKBP event support Tomeu Vizoso
2016-03-08 10:35 ` [PATCH v4 2/6] mfd: cros_ec: Add cros_ec_cmd_xfer_status helper Tomeu Vizoso
2016-03-08 23:54   ` Benson Leung
2016-03-08 10:35 ` [PATCH v4 3/6] mfd: cros_ec: Add cros_ec_get_host_event Tomeu Vizoso
2016-03-08 10:35 ` [PATCH v4 4/6] mfd: cros_ec: Add more definitions for PD commands Tomeu Vizoso
2016-03-08 10:35 ` [PATCH v4 5/6] power: cros_usbpd-charger: Add EC-based USB PD charger driver Tomeu Vizoso
2016-03-08 18:09   ` kbuild test robot [this message]
2016-03-15 22:30     ` Benson Leung
2016-03-08 10:35 ` [PATCH v4 6/6] platform/chrome: Register USB PD charger device Tomeu Vizoso

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201603090203.NRAyMe5M%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=bleung@chromium.org \
    --cc=dbaryshkov@gmail.com \
    --cc=dwmw2@infradead.org \
    --cc=enric.balletbo@collabora.co.uk \
    --cc=gwendal@chromium.org \
    --cc=javier@osg.samsung.com \
    --cc=kbuild-all@01.org \
    --cc=lee.jones@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=rspangler@chromium.org \
    --cc=sboyd@codeaurora.org \
    --cc=shawnn@chromium.org \
    --cc=snanda@chromium.org \
    --cc=sre@kernel.org \
    --cc=tbroch@chromium.org \
    --cc=tomeu.vizoso@collabora.com \
    --cc=victoryang@chromium.org \
    --cc=vpalatin@chromium.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).