Subject: [REGRESSION] next/master: (build) ‘pinmux_generic_get_function_count’ undeclared here (not in a func...

From: KernelCI bot <[email-masked]>
Date: Wed, 20 Aug 2025 04:59:04 -0000

Hello,

New build issue found on next/master:

---
 ‘pinmux_generic_get_function_count’ undeclared here (not in a function); did you mean ‘pinmux_generic_free_functions’? in drivers/pinctrl/qcom/pinctrl-msm.o (drivers/pinctrl/qcom/pinctrl-msm.c) [logspec:kbuild,kbuild.compiler.error]
---

- dashboard: https://d.kernelci.org/i/maestro:4466df3c987ba2945eca05fcb2f3c22e97d8636a
- giturl: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
- commit HEAD:  5303936d609e09665deda94eaedf26a0e5c3a087
- tags: next-20250820

Log excerpt:
=====================================================
drivers/pinctrl/qcom/pinctrl-msm.c:265:35: error: ‘pinmux_generic_get_function_count’ undeclared here (not in a function); did you mean ‘pinmux_generic_free_functions’?
  265 |         .get_functions_count    = pinmux_generic_get_function_count,
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                   pinmux_generic_free_functions
  CC      crypto/lskcipher.o
drivers/pinctrl/qcom/pinctrl-msm.c:266:35: error: ‘pinmux_generic_get_function_name’ undeclared here (not in a function); did you mean ‘pinmux_generic_free_functions’?
  266 |         .get_function_name      = pinmux_generic_get_function_name,
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                   pinmux_generic_free_functions
drivers/pinctrl/qcom/pinctrl-msm.c:267:35: error: ‘pinmux_generic_get_function_groups’ undeclared here (not in a function); did you mean ‘pinmux_generic_free_functions’?
  267 |         .get_function_groups    = pinmux_generic_get_function_groups,
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                   pinmux_generic_free_functions
drivers/pinctrl/qcom/pinctrl-msm.c: In function ‘msm_pinctrl_probe’:
drivers/pinctrl/qcom/pinctrl-msm.c:1587:23: error: implicit declaration of function ‘pinmux_generic_add_pinfunction’; did you mean ‘pinmux_generic_free_functions’? [-Werror=implicit-function-declaration]
 1587 |                 ret = pinmux_generic_add_pinfunction(pctrl->pctrl, func, NULL);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                       pinmux_generic_free_functions
cc1: all warnings being treated as errors

=====================================================

# Builds where the incident occurred:

## cros://chromeos-6.6/arm64/chromiumos-qualcomm.flavour.config+lab-setup+arm64-chromebook+CONFIG_MODULE_COMPRESS=n+CONFIG_MODULE_COMPRESS_NONE=y on (arm64):
- compiler: gcc-12
- dashboard: https://d.kernelci.org/build/maestro:68a55241233e484a3fa286f1

#kernelci issue maestro:4466df3c987ba2945eca05fcb2f3c22e97d8636a

Reported-by: kernelci.org bot <[email-masked]>

--
This is an experimental report format. Please send feedback in!
Talk to us at [email-masked]

Made with love by the KernelCI team - https://kernelci.org