All of lore.kernel.org
 help / color / mirror / Atom feed
* [conor:pinctrl 21/23] drivers/pinctrl/pinctrl-mpfs-mssio.c:302:20: error: use of undeclared identifier 'pinctrl_generic_pins_function_dt_node_to_map'
@ 2025-11-28  9:47 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-11-28  9:47 UTC (permalink / raw)
  To: Conor Dooley; +Cc: oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git pinctrl
head:   1e18058c8e8c6b9ff3310a9e9aa10d95e831cab9
commit: d1b023c3a5107668f367b2bfec08d721e2b2e7dd [21/23] pinctrl: add polarfire soc mssio pinctrl driver
config: um-randconfig-001-20251128 (https://download.01.org/0day-ci/archive/20251128/202511281744.PfIM0bpi-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project b3428bb966f1de8aa48375ffee0eba04ede133b7)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251128/202511281744.PfIM0bpi-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/202511281744.PfIM0bpi-lkp@intel.com/

All error/warnings (new ones prefixed by >>):

   In file included from drivers/pinctrl/pinctrl-mpfs-mssio.c:9:
   In file included from include/linux/regmap.h:20:
   In file included from include/linux/iopoll.h:14:
   In file included from include/linux/io.h:12:
   In file included from arch/um/include/asm/io.h:24:
   include/asm-generic/io.h:1209:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
    1209 |         return (port > MMIO_UPPER_LIMIT) ? NULL : PCI_IOBASE + port;
         |                                                   ~~~~~~~~~~ ^
>> drivers/pinctrl/pinctrl-mpfs-mssio.c:302:20: error: use of undeclared identifier 'pinctrl_generic_pins_function_dt_node_to_map'
     302 |         .dt_node_to_map = pinctrl_generic_pins_function_dt_node_to_map,
         |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   1 warning and 1 error generated.
--
>> drivers/pinctrl/pinctrl-generic.c:111:5: warning: no previous prototype for function 'pinctrl_generic_pins_function_dt_node_to_map' [-Wmissing-prototypes]
     111 | int pinctrl_generic_pins_function_dt_node_to_map(struct pinctrl_dev *pctldev,
         |     ^
   drivers/pinctrl/pinctrl-generic.c:111:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
     111 | int pinctrl_generic_pins_function_dt_node_to_map(struct pinctrl_dev *pctldev,
         | ^
         | static 
   1 warning generated.

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for I2C_K1
   Depends on [n]: I2C [=y] && HAS_IOMEM [=y] && (ARCH_SPACEMIT || COMPILE_TEST [=y]) && OF [=n]
   Selected by [y]:
   - MFD_SPACEMIT_P1 [=y] && HAS_IOMEM [=y] && (ARCH_SPACEMIT || COMPILE_TEST [=y]) && I2C [=y]


vim +/pinctrl_generic_pins_function_dt_node_to_map +302 drivers/pinctrl/pinctrl-mpfs-mssio.c

   296	
   297	static const struct pinctrl_ops mpfs_pinctrl_ops = {
   298		.get_groups_count = pinctrl_generic_get_group_count,
   299		.get_group_name	= pinctrl_generic_get_group_name,
   300		.get_group_pins	= pinctrl_generic_get_group_pins,
   301		.pin_dbg_show = mpfs_pinctrl_dbg_show,
 > 302		.dt_node_to_map = pinctrl_generic_pins_function_dt_node_to_map,
   303		.dt_free_map = pinctrl_utils_free_map,
   304	};
   305	

-- 
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:[~2025-11-28  9:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-28  9:47 [conor:pinctrl 21/23] drivers/pinctrl/pinctrl-mpfs-mssio.c:302:20: error: use of undeclared identifier 'pinctrl_generic_pins_function_dt_node_to_map' 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.