Re: [PATCH 2/2] staging: iio: ad7606: move out of staging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Eva,

[auto build test WARNING on iio/togreg]
[also build test WARNING on next-20161111]
[cannot apply to v4.9-rc4]
[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/Eva-Rachel-Retuya/staging-iio-ad7606-move-driver-out-of-staging/20161111-143836
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg
config: sh-allmodconfig (attached as .config)
compiler: sh4-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
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=sh 

All warnings (new ones prefixed by >>):

   drivers/iio/adc/ad7606_par.c: In function 'ad7606_par16_read_block':
>> drivers/iio/adc/ad7606_par.c:23:23: warning: unused variable 'st' [-Wunused-variable]
     struct ad7606_state *st = iio_priv(indio_dev);
                          ^~
   drivers/iio/adc/ad7606_par.c: In function 'ad7606_par8_read_block':
   drivers/iio/adc/ad7606_par.c:39:23: warning: unused variable 'st' [-Wunused-variable]
     struct ad7606_state *st = iio_priv(indio_dev);
                          ^~

vim +/st +23 drivers/iio/adc/ad7606_par.c

b9618c0c drivers/staging/iio/adc/ad7606_par.c Michael Hennerich 2011-02-22   7   */
b9618c0c drivers/staging/iio/adc/ad7606_par.c Michael Hennerich 2011-02-22   8  
b9618c0c drivers/staging/iio/adc/ad7606_par.c Michael Hennerich 2011-02-22   9  #include <linux/module.h>
b9618c0c drivers/staging/iio/adc/ad7606_par.c Michael Hennerich 2011-02-22  10  #include <linux/platform_device.h>
b9618c0c drivers/staging/iio/adc/ad7606_par.c Michael Hennerich 2011-02-22  11  #include <linux/types.h>
b9618c0c drivers/staging/iio/adc/ad7606_par.c Michael Hennerich 2011-02-22  12  #include <linux/err.h>
b9618c0c drivers/staging/iio/adc/ad7606_par.c Michael Hennerich 2011-02-22  13  #include <linux/io.h>
b9618c0c drivers/staging/iio/adc/ad7606_par.c Michael Hennerich 2011-02-22  14  
06458e27 drivers/staging/iio/adc/ad7606_par.c Jonathan Cameron  2012-04-25  15  #include <linux/iio/iio.h>
b9618c0c drivers/staging/iio/adc/ad7606_par.c Michael Hennerich 2011-02-22  16  #include "ad7606.h"
b9618c0c drivers/staging/iio/adc/ad7606_par.c Michael Hennerich 2011-02-22  17  
b9618c0c drivers/staging/iio/adc/ad7606_par.c Michael Hennerich 2011-02-22  18  static int ad7606_par16_read_block(struct device *dev,
b9618c0c drivers/staging/iio/adc/ad7606_par.c Michael Hennerich 2011-02-22  19  				   int count, void *buf)
b9618c0c drivers/staging/iio/adc/ad7606_par.c Michael Hennerich 2011-02-22  20  {
b9618c0c drivers/staging/iio/adc/ad7606_par.c Michael Hennerich 2011-02-22  21  	struct platform_device *pdev = to_platform_device(dev);
e61181d0 drivers/staging/iio/adc/ad7606_par.c Michael Hennerich 2011-05-18  22  	struct iio_dev *indio_dev = platform_get_drvdata(pdev);
e61181d0 drivers/staging/iio/adc/ad7606_par.c Michael Hennerich 2011-05-18 @23  	struct ad7606_state *st = iio_priv(indio_dev);
b9618c0c drivers/staging/iio/adc/ad7606_par.c Michael Hennerich 2011-02-22  24  
b9618c0c drivers/staging/iio/adc/ad7606_par.c Michael Hennerich 2011-02-22  25  	insw((unsigned long)st->base_address, buf, count);
b9618c0c drivers/staging/iio/adc/ad7606_par.c Michael Hennerich 2011-02-22  26  
b9618c0c drivers/staging/iio/adc/ad7606_par.c Michael Hennerich 2011-02-22  27  	return 0;
b9618c0c drivers/staging/iio/adc/ad7606_par.c Michael Hennerich 2011-02-22  28  }
b9618c0c drivers/staging/iio/adc/ad7606_par.c Michael Hennerich 2011-02-22  29  
b9618c0c drivers/staging/iio/adc/ad7606_par.c Michael Hennerich 2011-02-22  30  static const struct ad7606_bus_ops ad7606_par16_bops = {
b9618c0c drivers/staging/iio/adc/ad7606_par.c Michael Hennerich 2011-02-22  31  	.read_block	= ad7606_par16_read_block,

:::::: The code at line 23 was first introduced by commit
:::::: e61181d0a3e6788d57de9c1ae305d1c6f5fabade staging:iio:adc:ad7606: Use private data space from iio_allocate_device

:::::: TO: Michael Hennerich <michael.hennerich@xxxxxxxxxx>
:::::: CC: Greg Kroah-Hartman <gregkh@xxxxxxx>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux