* [linusw-pinctrl:b4/fix-keembay 33/35] drivers/pinctrl/freescale/pinctrl-imx-scmi.c:170:25: error: use of undeclared identifier 'pinmux_generic_get_function_count'; did you mean 'pinmux_generic_free_functions'?
@ 2024-06-18 18:10 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-06-18 18:10 UTC (permalink / raw)
To: Peng Fan
Cc: llvm, oe-kbuild-all, linux-gpio, Linus Walleij, Cristian Marussi,
Dong Aisheng
tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git b4/fix-keembay
head: f752b6771178e30e0174334b0d9eb659bf9d4cd2
commit: 1e37f761d0163cf99567fb81d9c59860ef255d9d [33/35] pinctrl: imx: support SCMI pinctrl protocol for i.MX95
config: i386-buildonly-randconfig-004-20240619 (https://download.01.org/0day-ci/archive/20240619/202406190117.KOToCGoE-lkp@intel.com/config)
compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240619/202406190117.KOToCGoE-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/202406190117.KOToCGoE-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/pinctrl/freescale/pinctrl-imx-scmi.c:170:25: error: use of undeclared identifier 'pinmux_generic_get_function_count'; did you mean 'pinmux_generic_free_functions'?
170 | .get_functions_count = pinmux_generic_get_function_count,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| pinmux_generic_free_functions
drivers/pinctrl/freescale/../pinmux.h:178:20: note: 'pinmux_generic_free_functions' declared here
178 | static inline void pinmux_generic_free_functions(struct pinctrl_dev *pctldev)
| ^
>> drivers/pinctrl/freescale/pinctrl-imx-scmi.c:171:23: error: use of undeclared identifier 'pinmux_generic_get_function_name'; did you mean 'pinmux_generic_free_functions'?
171 | .get_function_name = pinmux_generic_get_function_name,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| pinmux_generic_free_functions
drivers/pinctrl/freescale/../pinmux.h:178:20: note: 'pinmux_generic_free_functions' declared here
178 | static inline void pinmux_generic_free_functions(struct pinctrl_dev *pctldev)
| ^
>> drivers/pinctrl/freescale/pinctrl-imx-scmi.c:172:25: error: use of undeclared identifier 'pinmux_generic_get_function_groups'; did you mean 'pinmux_generic_free_functions'?
172 | .get_function_groups = pinmux_generic_get_function_groups,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| pinmux_generic_free_functions
drivers/pinctrl/freescale/../pinmux.h:178:20: note: 'pinmux_generic_free_functions' declared here
178 | static inline void pinmux_generic_free_functions(struct pinctrl_dev *pctldev)
| ^
>> drivers/pinctrl/freescale/pinctrl-imx-scmi.c:170:25: error: incompatible function pointer types initializing 'int (*)(struct pinctrl_dev *)' with an expression of type 'void (struct pinctrl_dev *)' [-Wincompatible-function-pointer-types]
170 | .get_functions_count = pinmux_generic_get_function_count,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/pinctrl/freescale/pinctrl-imx-scmi.c:171:23: error: incompatible function pointer types initializing 'const char *(*)(struct pinctrl_dev *, unsigned int)' with an expression of type 'void (struct pinctrl_dev *)' [-Wincompatible-function-pointer-types]
171 | .get_function_name = pinmux_generic_get_function_name,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/pinctrl/freescale/pinctrl-imx-scmi.c:172:25: error: incompatible function pointer types initializing 'int (*)(struct pinctrl_dev *, unsigned int, const char *const **, unsigned int *)' with an expression of type 'void (struct pinctrl_dev *)' [-Wincompatible-function-pointer-types]
172 | .get_function_groups = pinmux_generic_get_function_groups,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6 errors generated.
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for FB_IOMEM_HELPERS
Depends on [n]: HAS_IOMEM [=y] && FB_CORE [=n]
Selected by [m]:
- DRM_XE_DISPLAY [=y] && HAS_IOMEM [=y] && DRM [=m] && DRM_XE [=m] && DRM_XE [=m]=m
vim +170 drivers/pinctrl/freescale/pinctrl-imx-scmi.c
168
169 static const struct pinmux_ops pinctrl_scmi_imx_pinmux_ops = {
> 170 .get_functions_count = pinmux_generic_get_function_count,
> 171 .get_function_name = pinmux_generic_get_function_name,
> 172 .get_function_groups = pinmux_generic_get_function_groups,
173 .set_mux = pinctrl_scmi_imx_func_set_mux,
174 };
175
--
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-06-18 18:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-18 18:10 [linusw-pinctrl:b4/fix-keembay 33/35] drivers/pinctrl/freescale/pinctrl-imx-scmi.c:170:25: error: use of undeclared identifier 'pinmux_generic_get_function_count'; did you mean 'pinmux_generic_free_functions'? 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;
as well as URLs for NNTP newsgroup(s).