All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Conor Dooley <conor+lkp@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [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'
Date: Fri, 28 Nov 2025 17:47:41 +0800	[thread overview]
Message-ID: <202511281744.PfIM0bpi-lkp@intel.com> (raw)

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

                 reply	other threads:[~2025-11-28  9:48 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=202511281744.PfIM0bpi-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=conor+lkp@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 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.