Hi Han,
FYI, the error/warning still remains.
tree:
https://github.com/Freescale/linux-fslc pr/257
head: 5df3672236fb7ca1b04a8e8fa65bf039400b5020
commit: 2c4cf9ce2fcf9581d6625025b76ae73f77dde922 [8321/17025] MLK-23644: spi:
spi-nxp-fspi: enable runtime pm for fspi
config: openrisc-randconfig-r006-20210214 (attached as .config)
compiler: or1k-linux-gcc (GCC) 9.3.0
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
#
https://github.com/Freescale/linux-fslc/commit/2c4cf9ce2fcf9581d6625025b7...
git remote add freescale-fslc
https://github.com/Freescale/linux-fslc
git fetch --no-tags freescale-fslc pr/257
git checkout 2c4cf9ce2fcf9581d6625025b76ae73f77dde922
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=openrisc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> drivers/spi/spi-nxp-fspi.c:1193:12: error:
'nxp_fspi_pm_ops' undeclared here (not in a function); did you mean
'nxp_fspi_mem_ops'?
1193 | .pm = &nxp_fspi_pm_ops,
| ^~~~~~~~~~~~~~~
| nxp_fspi_mem_ops
vim +1193 drivers/spi/spi-nxp-fspi.c
a5356aef6a907c2 Yogesh Narayan Gaur 2019-01-15 1188
a5356aef6a907c2 Yogesh Narayan Gaur 2019-01-15 1189 static struct platform_driver
nxp_fspi_driver = {
a5356aef6a907c2 Yogesh Narayan Gaur 2019-01-15 1190 .driver = {
a5356aef6a907c2 Yogesh Narayan Gaur 2019-01-15 1191 .name = "nxp-fspi",
a5356aef6a907c2 Yogesh Narayan Gaur 2019-01-15 1192 .of_match_table =
nxp_fspi_dt_ids,
a5356aef6a907c2 Yogesh Narayan Gaur 2019-01-15 @1193 .pm = &nxp_fspi_pm_ops,
a5356aef6a907c2 Yogesh Narayan Gaur 2019-01-15 1194 },
a5356aef6a907c2 Yogesh Narayan Gaur 2019-01-15 1195 .probe = nxp_fspi_probe,
a5356aef6a907c2 Yogesh Narayan Gaur 2019-01-15 1196 .remove = nxp_fspi_remove,
a5356aef6a907c2 Yogesh Narayan Gaur 2019-01-15 1197 };
a5356aef6a907c2 Yogesh Narayan Gaur 2019-01-15 1198
module_platform_driver(nxp_fspi_driver);
a5356aef6a907c2 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(a)nxp.com>
:::::: CC: Mark Brown <broonie(a)kernel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org