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:	Tue, 5 Apr 2016 02:39:33 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Crestez Dan Leonard <leonard.crestez@...el.com>
Cc:	kbuild-all@...org, Jonathan Cameron <jic23@...nel.org>,
	linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org,
	Hartmut Knaack <knaack.h@....de>,
	Lars-Peter Clausen <lars@...afoo.de>,
	Peter Meerwald-Stadler <pmeerw@...erw.net>,
	Daniel Baluta <daniel.baluta@...el.com>,
	Crestez Dan Leonard <leonard.crestez@...el.com>
Subject: Re: [PATCH v2 2/2] ti-adc081c: Initial triggered buffer support

Hi Crestez,

[auto build test WARNING on iio/togreg]
[also build test WARNING on v4.6-rc2 next-20160404]
[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/Crestez-Dan-Leonard/Add-support-for-adc101c-and-adc121c/20160405-022459
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg
config: s390-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=s390 

All warnings (new ones prefixed by >>):

   drivers/iio/adc/ti-adc081c.c: In function 'adc081c_trigger_handler':
>> drivers/iio/adc/ti-adc081c.c:130:1: warning: 'adc081c_trigger_handler' uses dynamic stack allocation
    }
    ^

vim +/adc081c_trigger_handler +130 drivers/iio/adc/ti-adc081c.c

   114	static irqreturn_t adc081c_trigger_handler(int irq, void *p)
   115	{
   116		struct iio_poll_func *pf = p;
   117		struct iio_dev *indio_dev = pf->indio_dev;
   118		struct adc081c *data = iio_priv(indio_dev);
   119		u16 buf[indio_dev->scan_bytes / 2];
   120		int ret;
   121	
   122		ret = i2c_smbus_read_word_swapped(data->i2c, REG_CONV_RES);
   123		if (ret < 0)
   124			goto out;
   125		buf[0] = ret;
   126		iio_push_to_buffers_with_timestamp(indio_dev, buf, iio_get_time_ns());
   127	out:
   128		iio_trigger_notify_done(indio_dev->trig);
   129		return IRQ_HANDLED;
 > 130	}
   131	
   132	static int adc081c_probe(struct i2c_client *client,
   133				 const struct i2c_device_id *id)
   134	{
   135		struct iio_dev *iio;
   136		struct adc081c *adc;
   137		struct adcxx1c_model *model = (struct adcxx1c_model*)id->driver_data;
   138		int err;

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ