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]
Date:	Mon, 13 Jun 2016 05:26:56 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Kieran Bingham <kieran@...uared.org.uk>
Cc:	kbuild-all@...org, kieran@...uared.org.uk,
	Wolfram Sang <wsa@...-dreams.de>,
	Javier Martinez Canillas <javier@....samsung.com>,
	Lee Jones <lee.jones@...aro.org>, linux-i2c@...r.kernel.org,
	linux-kernel@...r.kernel.org, grant.likely@...aro.org,
	sameo@...ux.intel.com
Subject: Re: [TEST PATCH] rtc: convert ds1307 to interim probe_new

Hi,

[auto build test WARNING on abelloni/rtc-next]
[also build test WARNING on v4.7-rc3 next-20160609]
[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/Kieran-Bingham/rtc-convert-ds1307-to-interim-probe_new/20160613-051618
base:   https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git rtc-next
config: tile-allmodconfig (attached as .config)
compiler: tilegx-linux-gcc (GCC) 4.6.2
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=tile 

All warnings (new ones prefixed by >>):

   drivers/rtc/rtc-ds1307.c: In function 'ds1307_probe':
   drivers/rtc/rtc-ds1307.c:1262:2: error: implicit declaration of function 'i2c_of_match_device'
   drivers/rtc/rtc-ds1307.c:1262:7: warning: assignment makes pointer from integer without a cast [enabled by default]
   drivers/rtc/rtc-ds1307.c:1269:16: warning: cast from pointer to integer of different size
   drivers/rtc/rtc-ds1307.c:1274:17: warning: cast from pointer to integer of different size
   drivers/rtc/rtc-ds1307.c: At top level:
   drivers/rtc/rtc-ds1307.c:1634:2: error: unknown field 'probe_new' specified in initializer
>> drivers/rtc/rtc-ds1307.c:1634:2: warning: initialization from incompatible pointer type [enabled by default]
   drivers/rtc/rtc-ds1307.c:1634:2: warning: (near initialization for 'ds1307_driver.id_table') [enabled by default]
   cc1: some warnings being treated as errors

vim +1634 drivers/rtc/rtc-ds1307.c

  1618	
  1619	static int ds1307_remove(struct i2c_client *client)
  1620	{
  1621		struct ds1307 *ds1307 = i2c_get_clientdata(client);
  1622	
  1623		if (test_and_clear_bit(HAS_NVRAM, &ds1307->flags))
  1624			sysfs_remove_bin_file(&client->dev.kobj, ds1307->nvram);
  1625	
  1626		return 0;
  1627	}
  1628	
  1629	static struct i2c_driver ds1307_driver = {
  1630		.driver = {
  1631			.name	= "rtc-ds1307",
  1632			.of_match_table = of_match_ptr(ds1307_dt_ids),
  1633		},
> 1634		.probe_new	= ds1307_probe,
  1635		.remove		= ds1307_remove,
  1636	};
  1637	
  1638	module_i2c_driver(ds1307_driver);
  1639	
  1640	MODULE_DESCRIPTION("RTC driver for DS1307 and similar chips");
  1641	MODULE_LICENSE("GPL");

---
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" (44854 bytes)

Powered by blists - more mailing lists