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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 23 Jul 2016 23:14:24 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Paweł Grudziński <pgrudzinski@...nmailbox.org>
Cc:	kbuild-all@...org, Lars-Peter Clausen <lars@...afoo.de>,
	Michael Hennerich <Michael.Hennerich@...log.com>,
	Jonathan Cameron <jic23@...nel.org>,
	Hartmut Knaack <knaack.h@....de>,
	Peter Meerwald <pmeerw@...erw.net>, linux-iio@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	Pawel Grudzinski <pgrudzinski@...nmailbox.org>
Subject: Re: [PATCH v2] iio: dac: ad5380: Fix probe failure when no external
 reference is supplied

Hi,

[auto build test WARNING on iio/togreg]
[also build test WARNING on v4.7-rc7 next-20160722]
[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/Pawe-Grudzi-ski/iio-dac-ad5380-Fix-probe-failure-when-no-external-reference-is-supplied/20160723-221946
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-9) 6.1.1 20160705
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   drivers/iio/dac/ad5380.c: In function 'ad5380_probe':
>> drivers/iio/dac/ad5380.c:423:8: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
       ret = st->vref_reg;
           ^

vim +423 drivers/iio/dac/ad5380.c

   407			if (ret) {
   408				dev_err(dev, "Failed to enable vref regulators: %d\n",
   409					ret);
   410				goto error_free_reg;
   411			}
   412	
   413			ret = regulator_get_voltage(st->vref_reg);
   414			if (ret < 0)
   415				goto error_disable_reg;
   416	
   417			st->vref = ret / 1000;
   418		} else {
   419			if (PTR_ERR(st->vref_reg) == -ENODEV) {
   420				st->vref = st->chip_info->int_vref;
   421				ctrl |= AD5380_CTRL_INT_VREF_EN;
   422			} else {
 > 423				ret = st->vref_reg;
   424				goto error_free_reg;
   425			}
   426		}
   427	
   428		ret = regmap_write(st->regmap, AD5380_REG_SF_CTRL, ctrl);
   429		if (ret) {
   430			dev_err(dev, "Failed to write to device: %d\n", ret);
   431			goto error_disable_reg;

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ