Re: [PATCH v3] iio: dac: ds4422/ds4424 dac driver

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

 




Hi Ismail,

[auto build test WARNING on iio/togreg]
[also build test WARNING on v4.14-rc1 next-20170919]
[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/Ismail-Kose/iio-dac-ds4422-ds4424-dac-driver/20170919-205022
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg
config: ia64-allyesconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 6.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=ia64 

All warnings (new ones prefixed by >>):

>> drivers/iio/dac/ds4424.c:62:2: warning: 'unused' attribute ignored [-Wattributes]
     __maybe_unused uint16_t save[DS4424_MAX_DAC_CHANNELS];
     ^~~~~~~~~~~~~~
   drivers/iio/dac/ds4424.c: In function 'ds4424_parse_dt':
   drivers/iio/dac/ds4424.c:232:6: warning: unused variable 'count' [-Wunused-variable]
     int count;
         ^~~~~

vim +/unused +62 drivers/iio/dac/ds4424.c

    58	
    59	struct ds4424_data {
    60		struct i2c_client *client;
    61		struct mutex lock;
  > 62		__maybe_unused uint16_t save[DS4424_MAX_DAC_CHANNELS];
    63		uint32_t rfs_res[DS4424_MAX_DAC_CHANNELS];
    64		struct regulator *vcc_reg;
    65		uint8_t raw[DS4424_MAX_DAC_CHANNELS];
    66	};
    67	

---
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]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux