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


Groups > linux.kernel > #1523446

Re: [PATCH -next] Input: gpio_keys: set input direction explicitly for gpio keys

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH -next] Input: gpio_keys: set input direction explicitly for gpio keys
Date 2016-11-16 13:50 +0100
Message-ID <sE7P4-2Rf-23@gated-at.bofh.it> (permalink)
References <sE72G-2hZ-17@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 Sudeep,

[auto build test ERROR on next-20161116]

url:    https://github.com/0day-ci/linux/commits/Sudeep-Holla/Input-gpio_keys-set-input-direction-explicitly-for-gpio-keys/20161116-202319
config: x86_64-randconfig-x001-201646 (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=x86_64 

All errors (new ones prefixed by >>):

   drivers/input/keyboard/gpio_keys_polled.c: In function 'gpio_keys_polled_probe':
>> drivers/input/keyboard/gpio_keys_polled.c:323:5: error: 'flags' undeclared (first use in this function)
        flags |= GPIOF_ACTIVE_LOW;
        ^~~~~
   drivers/input/keyboard/gpio_keys_polled.c:323:5: note: each undeclared identifier is reported only once for each function it appears in

vim +/flags +323 drivers/input/keyboard/gpio_keys_polled.c

0f78ba96 Dmitry Torokhov 2016-02-23  317  		} else if (gpio_is_valid(button->gpio)) {
633a21d8 Aaron Lu        2014-10-21  318  			/*
633a21d8 Aaron Lu        2014-10-21  319  			 * Legacy GPIO number so request the GPIO here and
633a21d8 Aaron Lu        2014-10-21  320  			 * convert it to descriptor.
633a21d8 Aaron Lu        2014-10-21  321  			 */
633a21d8 Aaron Lu        2014-10-21  322  			if (button->active_low)
633a21d8 Aaron Lu        2014-10-21 @323  				flags |= GPIOF_ACTIVE_LOW;
633a21d8 Aaron Lu        2014-10-21  324  
633a21d8 Aaron Lu        2014-10-21  325  			error = devm_gpio_request_one(&pdev->dev, button->gpio,
633a21d8 Aaron Lu        2014-10-21  326  					flags, button->desc ? : DRV_NAME);

:::::: The code at line 323 was first introduced by commit
:::::: 633a21d80b4a2cd648aa2dacdb22494ffb2f28f0 input: gpio_keys_polled: Add support for GPIO descriptors

:::::: TO: Aaron Lu <aaron.lu@intel.com>
:::::: CC: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

---
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 -next] Input: gpio_keys: set input direction explicitly for gpio keys Sudeep Holla <sudeep.holla@arm.com> - 2016-11-16 13:00 +0100
  Re: [PATCH -next] Input: gpio_keys: set input direction explicitly  for gpio keys kbuild test robot <lkp@intel.com> - 2016-11-16 13:50 +0100
  [PATCH v2 -next] Input: gpio_keys: set input direction explicitly for gpio keys Sudeep Holla <sudeep.holla@arm.com> - 2016-11-16 14:50 +0100
    Re: [PATCH v2 -next] Input: gpio_keys: set input direction  explicitly for gpio keys Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2016-11-16 18:40 +0100
      Re: [PATCH v2 -next] Input: gpio_keys: set input direction explicitly  for gpio keys Sudeep Holla <sudeep.holla@arm.com> - 2016-11-16 18:50 +0100
        Re: [PATCH v2 -next] Input: gpio_keys: set input direction explicitly  for gpio keys Sudeep Holla <sudeep.holla@arm.com> - 2016-11-16 19:40 +0100
        Re: [PATCH v2 -next] Input: gpio_keys: set input direction  explicitly for gpio keys Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2016-11-16 19:40 +0100
    [PATCH v3 -next] Input: gpio_keys: set input direction explicitly for gpio keys Sudeep Holla <sudeep.holla@arm.com> - 2016-11-16 19:40 +0100
      Re: [PATCH v3 -next] Input: gpio_keys: set input direction  explicitly for gpio keys Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2016-11-17 02:20 +0100
        Re: [PATCH v3 -next] Input: gpio_keys: set input direction explicitly  for gpio keys Sudeep Holla <sudeep.holla@arm.com> - 2016-11-17 10:50 +0100

csiph-web