lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201603090203.NRAyMe5M%fengguang.wu@intel.com>
Date:	Wed, 9 Mar 2016 02:09:08 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Tomeu Vizoso <tomeu.vizoso@...labora.com>
Cc:	kbuild-all@...org, linux-kernel@...r.kernel.org,
	Sameer Nanda <snanda@...omium.org>,
	Javier Martinez Canillas <javier@....samsung.com>,
	Lee Jones <lee.jones@...aro.org>,
	Benson Leung <bleung@...omium.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>,
	Tomeu Vizoso <tomeu.vizoso@...labora.com>,
	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

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

Download attachment ".config.gz" of type "application/octet-stream" (39338 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ