Re: [PATCH 2/2] Staging: comedi: pcl726.c, ni_670x.c: Fix warnings and check.

From: kbuild test robot
Date: Sat Sep 03 2016 - 19:06:03 EST


Hi Amit,

[auto build test ERROR 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-062934
config: xtensa-allmodconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
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=xtensa

All errors (new ones prefixed by >>):

>> drivers/staging/comedi/drivers/pcl726.c:99:3: error: 'range_0_20ma' undeclared here (not in a function)
&range_0_20ma
^

vim +/range_0_20ma +99 drivers/staging/comedi/drivers/pcl726.c

93 static const struct comedi_lrange *const rangelist_728[] = {
94 &range_unipolar5,
95 &range_unipolar10,
96 &range_bipolar5,
97 &range_bipolar10,
98 &range_4_20mA,
> 99 &range_0_20ma
100 };
101
102 struct pcl726_board {

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

Attachment: .config.gz
Description: Binary data