Linux Input/HID development
 help / color / mirror / Atom feed
* [dtor-input:for-linus 4/40] arch/arm/mach-pxa/spitz.c:406:9: error: implicit declaration of function 'PROPERTY_ENTRY_ARRAY_U32'; did you mean 'PROPERTY_ENTRY_U8_ARRAY_LEN'?
@ 2024-09-22 22:12 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-09-22 22:12 UTC (permalink / raw)
  To: Dmitry Torokhov; +Cc: oe-kbuild-all, linux-input, Linus Walleij

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus
head:   b2142a22ef22466575feaccc74a2995c62cae7e8
commit: 1b05a701375107b2c2beae9c518b8e1a3819e086 [4/40] ARM: spitz: Use software nodes/properties for the matrix keypad
config: arm-randconfig-001-20240923 (https://download.01.org/0day-ci/archive/20240923/202409230614.BBJikfMj-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240923/202409230614.BBJikfMj-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/202409230614.BBJikfMj-lkp@intel.com/

All errors (new ones prefixed by >>):

>> arch/arm/mach-pxa/spitz.c:406:9: error: implicit declaration of function 'PROPERTY_ENTRY_ARRAY_U32'; did you mean 'PROPERTY_ENTRY_U8_ARRAY_LEN'? [-Wimplicit-function-declaration]
     406 |         PROPERTY_ENTRY_ARRAY_U32("linux,keymap", spitz_keymap),
         |         ^~~~~~~~~~~~~~~~~~~~~~~~
         |         PROPERTY_ENTRY_U8_ARRAY_LEN
>> arch/arm/mach-pxa/spitz.c:406:9: error: initialization of 'const char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
   arch/arm/mach-pxa/spitz.c:406:9: note: (near initialization for 'spitz_mkp_properties[0].name')
>> arch/arm/mach-pxa/spitz.c:406:9: error: initializer element is not constant
   arch/arm/mach-pxa/spitz.c:406:9: note: (near initialization for 'spitz_mkp_properties[0].name')


vim +406 arch/arm/mach-pxa/spitz.c

   404	
   405	static const struct property_entry spitz_mkp_properties[] = {
 > 406		PROPERTY_ENTRY_ARRAY_U32("linux,keymap", spitz_keymap),
   407		PROPERTY_ENTRY_REF_ARRAY("row-gpios", spitz_mkp_row_gpios),
   408		PROPERTY_ENTRY_REF_ARRAY("col-gpios", spitz_mkp_col_gpios),
   409		PROPERTY_ENTRY_U32("col-scan-delay-us", 10),
   410		PROPERTY_ENTRY_U32("debounce-delay-ms", 10),
   411		PROPERTY_ENTRY_BOOL("wakeup-source"),
   412		{ }
   413	};
   414	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-09-22 22:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-22 22:12 [dtor-input:for-linus 4/40] arch/arm/mach-pxa/spitz.c:406:9: error: implicit declaration of function 'PROPERTY_ENTRY_ARRAY_U32'; did you mean 'PROPERTY_ENTRY_U8_ARRAY_LEN'? 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