* Re: gpiolib: annotate struct acpi_gpio_mapping with __counted_by_ptr
@ 2026-09-28 19:33 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-09-28 19:33 UTC (permalink / raw)
Cc: llvm, oe-kbuild-all
Hi Bill,
kernel test robot noticed the following build errors:
url: https://github.com/intel-lab-lkp/linux/commits/Bill-Wendling/gpiolib-annotate-struct-acpi_gpio_mapping-with-__counted_by_ptr/20260928-063824
base:
patch link: https://lore.kernel.org/r/202609290353.Ok95CKe3-lkp%40intel.com
config: x86_64-randconfig-1011-20260928 (https://download.01.org/0day-ci/archive/20260929/202609290353.Ok95CKe3-lkp@intel.com/config)
compiler: clang version 22.1.3 (https://github.com/llvm/llvm-project e9846648fd6183ee6d8cbdb4502213fcf902a211)
rustc: rustc 1.96.0 (ac68faa20 2026-05-25)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260929/202609290353.Ok95CKe3-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/202609290353.Ok95CKe3-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/firmware/efi/libstub/smbios.c:5:
In file included from include/linux/efi.h:20:
In file included from include/linux/rtc.h:18:
In file included from include/linux/nvmem-provider.h:16:
>> include/linux/gpio/consumer.h:670:55: error: use of undeclared identifier 'size'; did you mean 'ksize'?
670 | const struct acpi_gpio_params *data __counted_by_ptr(size);
| ^~~~
| ksize
include/linux/compiler_types.h:392:64: note: expanded from macro '__counted_by_ptr'
392 | #define __counted_by_ptr(member) __attribute__((__counted_by__(member)))
| ^~~~~~
include/linux/slab.h:602:8: note: 'ksize' declared here
602 | size_t ksize(const void *objp);
| ^
In file included from drivers/firmware/efi/libstub/smbios.c:5:
In file included from include/linux/efi.h:20:
In file included from include/linux/rtc.h:18:
In file included from include/linux/nvmem-provider.h:16:
>> include/linux/gpio/consumer.h:670:55: error: 'counted_by' requires a non-boolean integer type argument
670 | const struct acpi_gpio_params *data __counted_by_ptr(size);
| ^~~~
2 errors generated.
vim +670 include/linux/gpio/consumer.h
667
668 struct acpi_gpio_mapping {
669 const char *name;
> 670 const struct acpi_gpio_params *data __counted_by_ptr(size);
671 unsigned int size;
672
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: gpiolib: annotate struct acpi_gpio_mapping with __counted_by_ptr
@ 2026-10-05 5:32 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-10-05 5:32 UTC (permalink / raw)
Cc: llvm, oe-kbuild-all
Hi Bill,
kernel test robot noticed the following build errors:
url: https://github.com/intel-lab-lkp/linux/commits/Bill-Wendling/gpiolib-annotate-struct-acpi_gpio_mapping-with-__counted_by_ptr/20261002-124225
base:
patch link: https://lore.kernel.org/r/202610050705.Z7tuheXs-lkp%40intel.com
config: x86_64-kexec (https://download.01.org/0day-ci/archive/20261005/202610050705.Z7tuheXs-lkp@intel.com/config)
compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261005/202610050705.Z7tuheXs-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/202610050705.Z7tuheXs-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/firmware/efi/libstub/bli.c:5:
In file included from include/linux/efi.h:20:
In file included from include/linux/rtc.h:18:
In file included from include/linux/nvmem-provider.h:16:
>> include/linux/gpio/consumer.h:670:55: error: use of undeclared identifier 'size'; did you mean 'ksize'?
670 | const struct acpi_gpio_params *data __counted_by_ptr(size);
| ^~~~
| ksize
include/linux/compiler_types.h:392:64: note: expanded from macro '__counted_by_ptr'
392 | #define __counted_by_ptr(member) __attribute__((__counted_by__(member)))
| ^~~~~~
include/linux/slab.h:602:8: note: 'ksize' declared here
602 | size_t ksize(const void *objp);
| ^
In file included from drivers/firmware/efi/libstub/bli.c:5:
In file included from include/linux/efi.h:20:
In file included from include/linux/rtc.h:18:
In file included from include/linux/nvmem-provider.h:16:
>> include/linux/gpio/consumer.h:670:55: error: 'counted_by' requires a non-boolean integer type argument
670 | const struct acpi_gpio_params *data __counted_by_ptr(size);
| ^~~~
2 errors generated.
vim +670 include/linux/gpio/consumer.h
667
668 struct acpi_gpio_mapping {
669 const char *name;
> 670 const struct acpi_gpio_params *data __counted_by_ptr(size);
671 unsigned int size;
672
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-10-05 5:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-28 19:33 gpiolib: annotate struct acpi_gpio_mapping with __counted_by_ptr kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2026-10-05 5:32 kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox