Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [arnd-playground:config-gpio-legacy-7.1 10/22] drivers/nfc/nfcmrvl/main.c:246:21: error: call to undeclared function 'of_property_read_bool'; ISO C99 and later do not support implicit function declarations
@ 2026-04-27  9:00 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-04-27  9:00 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: llvm, oe-kbuild-all, Andy Shevchenko

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git config-gpio-legacy-7.1
head:   bbb302c86fdfa7705d8511a74c4b6db205cd2683
commit: e11421cee13b5d2560a2dc660ccb7ab8137bfba1 [10/22] [v2] nfc: marvell: convert to gpio descriptors
config: s390-allmodconfig (https://download.01.org/0day-ci/archive/20260427/202604271603.lIOX6xo2-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260427/202604271603.lIOX6xo2-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/202604271603.lIOX6xo2-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/nfc/nfcmrvl/main.c:246:21: error: call to undeclared function 'of_property_read_bool'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
     246 |         pdata->hci_muxed = of_property_read_bool(node, "hci-muxed");
         |                            ^
   1 error generated.


vim +/of_property_read_bool +246 drivers/nfc/nfcmrvl/main.c

3194c6870158e3 Vincent Cuissard 2015-10-26  242  
dc14bdef8762a8 Vincent Cuissard 2015-06-11  243  int nfcmrvl_parse_dt(struct device_node *node,
dc14bdef8762a8 Vincent Cuissard 2015-06-11  244  		     struct nfcmrvl_platform_data *pdata)
dc14bdef8762a8 Vincent Cuissard 2015-06-11  245  {
cc6d85c1cb5ccc Rob Herring      2023-03-14 @246  	pdata->hci_muxed = of_property_read_bool(node, "hci-muxed");
dc14bdef8762a8 Vincent Cuissard 2015-06-11  247  
dc14bdef8762a8 Vincent Cuissard 2015-06-11  248  	return 0;
dc14bdef8762a8 Vincent Cuissard 2015-06-11  249  }
dc14bdef8762a8 Vincent Cuissard 2015-06-11  250  EXPORT_SYMBOL_GPL(nfcmrvl_parse_dt);
dc14bdef8762a8 Vincent Cuissard 2015-06-11  251  

:::::: The code at line 246 was first introduced by commit
:::::: cc6d85c1cb5ccc04c594392339c81227abd1667d nfc: mrvl: Use of_property_read_bool() for boolean properties

:::::: TO: Rob Herring <robh@kernel.org>
:::::: CC: David S. Miller <davem@davemloft.net>

-- 
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:[~2026-04-27  9:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-27  9:00 [arnd-playground:config-gpio-legacy-7.1 10/22] drivers/nfc/nfcmrvl/main.c:246:21: error: call to undeclared function 'of_property_read_bool'; ISO C99 and later do not support implicit function declarations 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