Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1569977

Re: [PATCH 5/5] gpio: ws16c48: Add support for GPIO names

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH 5/5] gpio: ws16c48: Add support for GPIO names
Date 2017-01-30 19:10 +0100
Message-ID <t5oyT-7bL-47@gated-at.bofh.it> (permalink)
References <t5nMu-6G1-41@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi William,

[auto build test ERROR on gpio/for-next]
[also build test ERROR on next-20170130]
[cannot apply to v4.10-rc6]
[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/William-Breathitt-Gray/gpio-Add-support-for-GPIO-names-for-several-ISA_BUS_API-drivers/20170131-013038
base:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git for-next
config: i386-randconfig-x003-201705 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   drivers/gpio/gpio-ws16c48.c: In function 'ws16c48_probe':
>> drivers/gpio/gpio-ws16c48.c:381:28: error: 'ws16c48_names' undeclared (first use in this function)
     ws16c48gpio->chip.names = ws16c48_names;
                               ^~~~~~~~~~~~~
   drivers/gpio/gpio-ws16c48.c:381:28: note: each undeclared identifier is reported only once for each function it appears in
   At top level:
   drivers/gpio/gpio-ws16c48.c:345:20: warning: 'ws14c48_names' defined but not used [-Wunused-variable]
    static const char *ws14c48_names[WS16C48_NGPIO] = {
                       ^~~~~~~~~~~~~

vim +/ws16c48_names +381 drivers/gpio/gpio-ws16c48.c

   375	
   376		ws16c48gpio->chip.label = name;
   377		ws16c48gpio->chip.parent = dev;
   378		ws16c48gpio->chip.owner = THIS_MODULE;
   379		ws16c48gpio->chip.base = -1;
   380		ws16c48gpio->chip.ngpio = WS16C48_NGPIO;
 > 381		ws16c48gpio->chip.names = ws16c48_names;
   382		ws16c48gpio->chip.get_direction = ws16c48_gpio_get_direction;
   383		ws16c48gpio->chip.direction_input = ws16c48_gpio_direction_input;
   384		ws16c48gpio->chip.direction_output = ws16c48_gpio_direction_output;

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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/5] gpio: Add support for GPIO names for several ISA_BUS_API drivers William Breathitt Gray <vilhelm.gray@gmail.com> - 2017-01-30 18:20 +0100
  [PATCH 5/5] gpio: ws16c48: Add support for GPIO names William Breathitt Gray <vilhelm.gray@gmail.com> - 2017-01-30 18:20 +0100
    Re: [PATCH 5/5] gpio: ws16c48: Add support for GPIO names kbuild test robot <lkp@intel.com> - 2017-01-30 19:10 +0100
  [PATCH 2/5] gpio: 104-idi-48: Add support for GPIO names William Breathitt Gray <vilhelm.gray@gmail.com> - 2017-01-30 18:20 +0100

csiph-web