[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201704140028.4r21UP3N%fengguang.wu@intel.com>
Date: Fri, 14 Apr 2017 00:22:06 +0800
From: kbuild test robot <lkp@...el.com>
To: Nandor Han <nandor.han@...com>
Cc: kbuild-all@...org, gregkh@...uxfoundation.org, davem@...emloft.net,
geert@...ux-m68k.org, mchehab@...nel.org, daniel.vetter@...ll.ch,
linus.walleij@...aro.org, gnurou@...il.com, robh+dt@...nel.org,
mark.rutland@....com, linux-gpio@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
Nandor Han <nandor.han@...com>,
Semi Malinen <semi.malinen@...com>
Subject: Re: [PATCH v2 2/4] gpio - Add EXAR XRA1403 SPI GPIO expander driver
Hi Nandor,
[auto build test ERROR on gpio/for-next]
[also build test ERROR on v4.11-rc6 next-20170413]
[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/Nandor-Han/XRA1403-gpio-add-XRA1403-gpio-expander-driver/20170413-215739
base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git for-next
config: frv-allyesconfig (attached as .config)
compiler: frv-linux-gcc (GCC) 6.2.0
reproduce:
wget https://raw.githubusercontent.com/01org/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=frv
All errors (new ones prefixed by >>):
drivers//gpio/gpio-xra1403.c: In function 'xra1403_dbg_show':
>> drivers//gpio/gpio-xra1403.c:133:2: error: implicit declaration of function 'seq_puts' [-Werror=implicit-function-declaration]
seq_puts(s, "xra reg:");
^~~~~~~~
>> drivers//gpio/gpio-xra1403.c:135:3: error: implicit declaration of function 'seq_printf' [-Werror=implicit-function-declaration]
seq_printf(s, " %2.2x", reg);
^~~~~~~~~~
cc1: some warnings being treated as errors
vim +/seq_puts +133 drivers//gpio/gpio-xra1403.c
127 struct xra1403 *xra = gpiochip_get_data(chip);
128 int value[xra1403_regmap_cfg.max_register];
129 int i;
130 unsigned int gcr;
131 unsigned int gsr;
132
> 133 seq_puts(s, "xra reg:");
134 for (reg = 0; reg <= xra1403_regmap_cfg.max_register; reg++)
> 135 seq_printf(s, " %2.2x", reg);
136 seq_puts(s, "\n value:");
137 for (reg = 0; reg < xra1403_regmap_cfg.max_register; reg++) {
138 regmap_read(xra->regmap, reg, &value[reg]);
---
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/gzip" (47568 bytes)
Powered by blists - more mailing lists