Hi Amit,

[auto build test WARNING on v4.8-rc4]
[cannot apply to staging/staging-testing next-20160825]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for 
convenience) to record what (public, well-known) commit your patch series was 
built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url:    
https://github.com/0day-ci/linux/commits/Amit-Ghadge/Staging-comedi-ni_daq_dio24-c-Fix-block-comments-use-on-subsequent-lines/20160904-170303
config: i386-allyesconfig (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=i386 

All warnings (new ones prefixed by >>):

   drivers/staging/comedi/drivers/dac02.c:66:3: error: implicit declaration of 
function 'RANGE_mA' [-Werror=implicit-function-declaration]
      RANGE_mA(4, 20),
      ^~~~~~~~
   drivers/staging/comedi/drivers/dac02.c:66:3: error: initializer element is 
not constant
   drivers/staging/comedi/drivers/dac02.c:66:3: note: (near initialization for 
'das02_ao_ranges.range[4].min')
   drivers/staging/comedi/drivers/dac02.c:67:3: warning: braces around scalar 
initializer
      RANGE_ext(0, 1)
      ^
   drivers/staging/comedi/drivers/dac02.c:67:3: note: (near initialization for 
'das02_ao_ranges.range[4].max')
>> drivers/staging/comedi/drivers/dac02.c:67:15: warning: excess elements in 
>> scalar initializer
      RANGE_ext(0, 1)
                  ^
   drivers/staging/comedi/drivers/dac02.c:67:15: note: (near initialization for 
'das02_ao_ranges.range[4].max')
   drivers/staging/comedi/drivers/dac02.c:67:26: warning: excess elements in 
scalar initializer
      RANGE_ext(0, 1)
                             ^    
   drivers/staging/comedi/drivers/dac02.c:67:26: note: (near initialization for 
'das02_ao_ranges.range[4].max')
   drivers/staging/comedi/drivers/dac02.c:61:5: warning: missing braces around 
initializer [-Wmissing-braces]
     6, {
        ^
   drivers/staging/comedi/drivers/dac02.c:61:5: note: (near initialization for 
'das02_ao_ranges.range')
   drivers/staging/comedi/drivers/dac02.c:60:53: warning: missing braces around 
initializer [-Wmissing-braces]
    static const struct comedi_lrange das02_ao_ranges = {
                                                        ^
   drivers/staging/comedi/drivers/dac02.c:60:53: note: (near initialization for 
'das02_ao_ranges')
   cc1: some warnings being treated as errors

vim +67 drivers/staging/comedi/drivers/dac02.c

99999e27 H Hartley Sweeten 2014-03-11  60  static const struct comedi_lrange 
das02_ao_ranges = {
99999e27 H Hartley Sweeten 2014-03-11  61       6, {
99999e27 H Hartley Sweeten 2014-03-11  62               UNI_RANGE(5),
99999e27 H Hartley Sweeten 2014-03-11  63               UNI_RANGE(10),
99999e27 H Hartley Sweeten 2014-03-11  64               BIP_RANGE(5),
99999e27 H Hartley Sweeten 2014-03-11  65               BIP_RANGE(10),
99999e27 H Hartley Sweeten 2014-03-11 @66               RANGE_mA(4, 20),
99999e27 H Hartley Sweeten 2014-03-11 @67               RANGE_ext(0, 1)
99999e27 H Hartley Sweeten 2014-03-11  68       }
99999e27 H Hartley Sweeten 2014-03-11  69  };
99999e27 H Hartley Sweeten 2014-03-11  70  

:::::: The code at line 67 was first introduced by commit
:::::: 99999e27475c9cbed2d59ac33f1d6f21bf9e260d staging: comedi: dac02: 
introduce comedi driver for DAC02 boards

:::::: TO: H Hartley Sweeten <hartl...@visionengravers.com>
:::::: CC: Greg Kroah-Hartman <gre...@linuxfoundation.org>

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

Attachment: .config.gz
Description: Binary data

Reply via email to