tree:
https://github.com/Freescale/linux-fslc pr/261
head: ce0c0d68c7bb912d832bb73b60cdd380a3d8b966
commit: 2c4cf9ce2fcf9581d6625025b76ae73f77dde922 [8321/17088] MLK-23644: spi:
spi-nxp-fspi: enable runtime pm for fspi
config: x86_64-randconfig-a004-20210215 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
c9439ca36342fb6013187d0a69aef92736951476)
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/2c4cf9ce2fcf9581d6625025b7...
git remote add freescale-fslc
https://github.com/Freescale/linux-fslc
git fetch --no-tags freescale-fslc pr/261
git checkout 2c4cf9ce2fcf9581d6625025b76ae73f77dde922
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
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: 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(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