[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'?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx/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@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202409230614.BBJikfMj-lkp@xxxxxxxxx/

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




[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux