* [lunn:v6.12.0-scu4-dt-overlay 25/30] include/linux/of.h:1773:5: warning: "CONFIG_OF_RESOLVE" is not defined, evaluates to 0
@ 2024-12-01 16:55 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-12-01 16:55 UTC (permalink / raw)
To: Andrew Lunn; +Cc: oe-kbuild-all
tree: https://github.com/lunn/linux.git v6.12.0-scu4-dt-overlay
head: b21db3c3b59085d88243972fcb891a13ddd86b7a
commit: e8a03ab091c87d818bdaa61873dfd96c6f6df5da [25/30] of: resolver: Add helper to add to __symbols__
config: arc-axs103_defconfig (https://download.01.org/0day-ci/archive/20241202/202412020002.hCJrP1Tw-lkp@intel.com/config)
compiler: arc-elf-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241202/202412020002.hCJrP1Tw-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/202412020002.hCJrP1Tw-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from lib/logic_pio.c:11:
>> include/linux/of.h:1773:5: warning: "CONFIG_OF_RESOLVE" is not defined, evaluates to 0 [-Wundef]
1773 | #if CONFIG_OF_RESOLVE
| ^~~~~~~~~~~~~~~~~
--
In file included from include/linux/clk-provider.h:9,
from lib/vsprintf.c:23:
>> include/linux/of.h:1773:5: warning: "CONFIG_OF_RESOLVE" is not defined, evaluates to 0 [-Wundef]
1773 | #if CONFIG_OF_RESOLVE
| ^~~~~~~~~~~~~~~~~
lib/vsprintf.c: In function 'va_format':
lib/vsprintf.c:1683:9: warning: function 'va_format' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format]
1683 | buf += vsnprintf(buf, end > buf ? end - buf : 0, va_fmt->fmt, va);
| ^~~
vim +/CONFIG_OF_RESOLVE +1773 include/linux/of.h
1772
> 1773 #if CONFIG_OF_RESOLVE
1774 int of_add_resolver_symbol(const char *name, const struct device *dev,
1775 const char *path);
1776 #else
1777 static inline int of_add_resolver_symbol(const char *name,
1778 const struct device *dev,
1779 const char *path)
1780 {
1781 return 0;
1782 }
1783 #endif
1784
--
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-12-01 16:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-01 16:55 [lunn:v6.12.0-scu4-dt-overlay 25/30] include/linux/of.h:1773:5: warning: "CONFIG_OF_RESOLVE" is not defined, evaluates to 0 kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.