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: <201703272258.hWlipe1g%fengguang.wu@intel.com>
Date:   Mon, 27 Mar 2017 22:51:32 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Steve Twiss <stwiss.opensource@...semi.com>
Cc:     kbuild-all@...org, LINUX-KERNEL <linux-kernel@...r.kernel.org>,
        Lee Jones <lee.jones@...aro.org>,
        DEVICETREE <devicetree@...r.kernel.org>,
        Dmitry Torokhov <dmitry.torokhov@...il.com>,
        Eduardo Valentin <edubezval@...il.com>,
        Guenter Roeck <linux@...ck-us.net>,
        LINUX-INPUT <linux-input@...r.kernel.org>,
        LINUX-PM <linux-pm@...r.kernel.org>,
        LINUX-WATCHDOG <linux-watchdog@...r.kernel.org>,
        Liam Girdwood <lgirdwood@...il.com>,
        Mark Brown <broonie@...nel.org>,
        Mark Rutland <mark.rutland@....com>,
        Rob Herring <robh+dt@...nel.org>,
        Support Opensource <support.opensource@...semi.com>,
        Wim Van Sebroeck <wim@...ana.be>,
        Zhang Rui <rui.zhang@...el.com>
Subject: Re: [PATCH V6 4/7] mfd: da9061: MFD core support

Hi Steve,

[auto build test WARNING on ljones-mfd/for-mfd-next]
[also build test WARNING on v4.11-rc4 next-20170327]
[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/Steve-Twiss/Documentation-devicetree-watchdog-da9062-61-watchdog-timer-binding/20170327-215359
base:   https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next
config: x86_64-randconfig-x009-201713 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   drivers//mfd/da9062-core.c: In function 'da9062_i2c_probe':
>> drivers//mfd/da9062-core.c:845:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
      chip->chip_type = (int)match->data;
                        ^

vim +845 drivers//mfd/da9062-core.c

   829		unsigned int irq_base;
   830		const struct mfd_cell *cell;
   831		const struct regmap_irq_chip *irq_chip;
   832		const struct regmap_config *config;
   833		int cell_num;
   834		int ret;
   835	
   836		chip = devm_kzalloc(&i2c->dev, sizeof(*chip), GFP_KERNEL);
   837		if (!chip)
   838			return -ENOMEM;
   839	
   840		if (i2c->dev.of_node) {
   841			match = of_match_node(da9062_dt_ids, i2c->dev.of_node);
   842			if (!match)
   843				return -EINVAL;
   844	
 > 845			chip->chip_type = (int)match->data;
   846		} else {
   847			chip->chip_type = id->driver_data;
   848		}
   849	
   850		i2c_set_clientdata(i2c, chip);
   851		chip->dev = &i2c->dev;
   852	
   853		if (!i2c->irq) {

---
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/gzip" (28916 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ