* [freescale-fslc:5.4-2.1.x-imx 8321/18134] drivers/spi/spi-nxp-fspi.c:1193:12: error: use of undeclared identifier 'nxp_fspi_pm_ops'; did you mean 'nxp_fspi_mem_ops'?
@ 2021-05-15 0:43 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-05-15 0:43 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3492 bytes --]
Hi Han,
FYI, the error/warning still remains.
tree: https://github.com/Freescale/linux-fslc 5.4-2.1.x-imx
head: dc9c8a20afa50de2da8773bbabb71464c4ee9a9d
commit: 2c4cf9ce2fcf9581d6625025b76ae73f77dde922 [8321/18134] MLK-23644: spi: spi-nxp-fspi: enable runtime pm for fspi
config: x86_64-randconfig-a012-20210514 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project e475d4d69f04597c3f6c34c8ff1899bf44502a94)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# https://github.com/Freescale/linux-fslc/commit/2c4cf9ce2fcf9581d6625025b76ae73f77dde922
git remote add freescale-fslc https://github.com/Freescale/linux-fslc
git fetch --no-tags freescale-fslc 5.4-2.1.x-imx
git checkout 2c4cf9ce2fcf9581d6625025b76ae73f77dde922
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> drivers/spi/spi-nxp-fspi.c:1193:12: error: use of undeclared identifier 'nxp_fspi_pm_ops'; did you mean 'nxp_fspi_mem_ops'?
.pm = &nxp_fspi_pm_ops,
^~~~~~~~~~~~~~~
nxp_fspi_mem_ops
drivers/spi/spi-nxp-fspi.c:997:44: note: 'nxp_fspi_mem_ops' declared here
static const struct spi_controller_mem_ops nxp_fspi_mem_ops = {
^
>> drivers/spi/spi-nxp-fspi.c:1193:11: error: incompatible pointer types initializing 'const struct dev_pm_ops *' with an expression of type 'const struct spi_controller_mem_ops *' [-Werror,-Wincompatible-pointer-types]
.pm = &nxp_fspi_pm_ops,
^~~~~~~~~~~~~~~~
2 errors generated.
vim +1193 drivers/spi/spi-nxp-fspi.c
a5356aef6a907c Yogesh Narayan Gaur 2019-01-15 1188
a5356aef6a907c Yogesh Narayan Gaur 2019-01-15 1189 static struct platform_driver nxp_fspi_driver = {
a5356aef6a907c Yogesh Narayan Gaur 2019-01-15 1190 .driver = {
a5356aef6a907c Yogesh Narayan Gaur 2019-01-15 1191 .name = "nxp-fspi",
a5356aef6a907c Yogesh Narayan Gaur 2019-01-15 1192 .of_match_table = nxp_fspi_dt_ids,
a5356aef6a907c Yogesh Narayan Gaur 2019-01-15 @1193 .pm = &nxp_fspi_pm_ops,
a5356aef6a907c Yogesh Narayan Gaur 2019-01-15 1194 },
a5356aef6a907c Yogesh Narayan Gaur 2019-01-15 1195 .probe = nxp_fspi_probe,
a5356aef6a907c Yogesh Narayan Gaur 2019-01-15 1196 .remove = nxp_fspi_remove,
a5356aef6a907c Yogesh Narayan Gaur 2019-01-15 1197 };
a5356aef6a907c Yogesh Narayan Gaur 2019-01-15 1198 module_platform_driver(nxp_fspi_driver);
a5356aef6a907c Yogesh Narayan Gaur 2019-01-15 1199
:::::: The code at line 1193 was first introduced by commit
:::::: a5356aef6a907c2e2aed0caaa2b88b6021394471 spi: spi-mem: Add driver for NXP FlexSPI controller
:::::: TO: Yogesh Narayan Gaur <yogeshnarayan.gaur@nxp.com>
:::::: CC: Mark Brown <broonie@kernel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 29047 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-05-15 0:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-15 0:43 [freescale-fslc:5.4-2.1.x-imx 8321/18134] drivers/spi/spi-nxp-fspi.c:1193:12: error: use of undeclared identifier 'nxp_fspi_pm_ops'; did you mean 'nxp_fspi_mem_ops'? 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.