Linux Input/HID development
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-input@vger.kernel.org,
	Linus Walleij <linus.walleij@linaro.org>
Subject: [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: Mon, 23 Sep 2024 06:12:30 +0800	[thread overview]
Message-ID: <202409230614.BBJikfMj-lkp@intel.com> (raw)

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

                 reply	other threads:[~2024-09-22 22:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202409230614.BBJikfMj-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-input@vger.kernel.org \
    --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