From: kernel test robot <lkp@intel.com>
To: Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
linux-input@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Dmitry Torokhov <dmitry.torokhov@gmail.com>
Subject: Re: [PATCH v1 3/5] Input: gpio_decoder - replace custom loop by gpiod_get_array_value_cansleep()
Date: Thu, 13 Nov 2025 20:15:21 +0800 [thread overview]
Message-ID: <202511131958.6ItfY60O-lkp@intel.com> (raw)
In-Reply-To: <20251112191412.2088105-4-andriy.shevchenko@linux.intel.com>
Hi Andy,
kernel test robot noticed the following build errors:
[auto build test ERROR on dtor-input/next]
[also build test ERROR on dtor-input/for-linus hid/for-next linus/master v6.18-rc5 next-20251113]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Andy-Shevchenko/Input-gpio_decoder-make-use-of-device-properties/20251113-032111
base: https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git next
patch link: https://lore.kernel.org/r/20251112191412.2088105-4-andriy.shevchenko%40linux.intel.com
patch subject: [PATCH v1 3/5] Input: gpio_decoder - replace custom loop by gpiod_get_array_value_cansleep()
config: x86_64-buildonly-randconfig-002-20251113 (https://download.01.org/0day-ci/archive/20251113/202511131958.6ItfY60O-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251113/202511131958.6ItfY60O-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202511131958.6ItfY60O-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/input/misc/gpio_decoder.c:38:53: error: use of undeclared identifier 'val'
38 | dev_err(decoder->dev, "Error reading GPIO: %d\n", val);
| ^
1 error generated.
vim +/val +38 drivers/input/misc/gpio_decoder.c
27
28 static int gpio_decoder_get_gpios_state(struct gpio_decoder *decoder)
29 {
30 struct gpio_descs *gpios = decoder->input_gpios;
31 DECLARE_BITMAP(values, 32);
32 unsigned int size;
33 int err;
34
35 size = min(gpios->ndescs, 32U);
36 err = gpiod_get_array_value_cansleep(size, gpios->desc, gpios->info, values);
37 if (err) {
> 38 dev_err(decoder->dev, "Error reading GPIO: %d\n", val);
39 return err;
40 }
41
42 return bitmap_read(values, 0, size);
43 }
44
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-11-13 12:16 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-12 19:13 [PATCH v1 0/5] Input: gpio_decoder - update driver to use modern APIs Andy Shevchenko
2025-11-12 19:13 ` [PATCH v1 1/5] Input: gpio_decoder - make use of device properties Andy Shevchenko
2025-11-12 19:13 ` [PATCH v1 2/5] Input: gpio_decoder - unify messages with help of dev_err_probe() Andy Shevchenko
2025-11-12 19:13 ` [PATCH v1 3/5] Input: gpio_decoder - replace custom loop by gpiod_get_array_value_cansleep() Andy Shevchenko
2025-11-13 10:47 ` kernel test robot
2025-11-13 12:15 ` kernel test robot [this message]
2025-11-12 19:13 ` [PATCH v1 4/5] Input: gpio_decoder - make use of the macros from bits.h Andy Shevchenko
2025-11-12 19:13 ` [PATCH v1 5/5] Input: gpio_decoder - don't use "proxy" headers Andy Shevchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202511131958.6ItfY60O-lkp@intel.com \
--to=lkp@intel.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).