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: <201606211912.JCmJ2q9D%fengguang.wu@intel.com>
Date:	Tue, 21 Jun 2016 19:44:30 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Florian Vaussard <florian.vaussard@...il.com>
Cc:	kbuild-all@...org, devicetree@...r.kernel.org,
	Jonathan Cameron <jic23@...nel.org>,
	Hartmut Knaack <knaack.h@....de>,
	Lars-Peter Clausen <lars@...afoo.de>,
	Peter Meerwald-Stadler <pmeerw@...erw.net>,
	Rob Herring <robh+dt@...nel.org>,
	Pawel Moll <pawel.moll@....com>,
	Mark Rutland <mark.rutland@....com>,
	Ian Campbell <ijc+devicetree@...lion.org.uk>,
	Kumar Gala <galak@...eaurora.org>,
	Martin Kepplinger <martink@...teo.de>,
	linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org,
	Florian Vaussard <florian.vaussard@...g-vd.ch>
Subject: Re: [PATCH 3/3] iio: adc: max1363: Add device tree binding

Hi,

[auto build test WARNING on iio/togreg]
[cannot apply to v4.7-rc4 next-20160621]
[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/Florian-Vaussard/iio-adc-max1363-Fix-missing-parts-and-add-device-tree/20160621-174542
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg
config: x86_64-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   drivers/iio/adc/max1363.c: In function 'max1363_probe':
>> drivers/iio/adc/max1363.c:1578:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
      devid = (int)of_device_get_match_data(&client->dev);
              ^

vim +1578 drivers/iio/adc/max1363.c

  1562	};
  1563	#endif
  1564	
  1565	static int max1363_probe(struct i2c_client *client,
  1566				 const struct i2c_device_id *id)
  1567	{
  1568		int ret;
  1569		struct max1363_state *st;
  1570		struct iio_dev *indio_dev;
  1571		struct regulator *vref;
  1572		unsigned long devid;
  1573		const struct of_device_id *match;
  1574	
  1575		match = of_match_device(of_match_ptr(max1363_of_match),
  1576					&client->dev);
  1577		if (match)
> 1578			devid = (int)of_device_get_match_data(&client->dev);
  1579		else
  1580			devid = id->driver_data;
  1581	
  1582		indio_dev = devm_iio_device_alloc(&client->dev,
  1583						  sizeof(struct max1363_state));
  1584		if (!indio_dev)
  1585			return -ENOMEM;
  1586	

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ