tree:
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git
queue-4.14
head: 3aa0dafb66e0b4988dff353305cb7af37508b8e9
commit: 51f048e6c279d5b7c72e964d98d075de737db130 [35/46] spi: stm32: fixes suspend/resume
management
config: mips-allyesconfig (attached as .config)
compiler: mips-linux-gcc (GCC) 7.5.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
git checkout 51f048e6c279d5b7c72e964d98d075de737db130
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-7.5.0 make.cross ARCH=mips
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-stm32.c: In function 'stm32_spi_resume':
> drivers/spi/spi-stm32.c:1313:5: error: 'struct stm32_spi'
has no member named 'cfg'
spi->cfg->config(spi);
^~
#
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git/c...
git remote add sashal-linux-stable
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git
git fetch --no-tags sashal-linux-stable queue-4.14
git checkout 51f048e6c279d5b7c72e964d98d075de737db130
vim +1313 drivers/spi/spi-stm32.c
1290
1291 static int stm32_spi_resume(struct device *dev)
1292 {
1293 struct spi_master *master = dev_get_drvdata(dev);
1294 struct stm32_spi *spi = spi_master_get_devdata(master);
1295 int ret;
1296
1297 ret = pm_runtime_force_resume(dev);
1298 if (ret)
1299 return ret;
1300
1301 ret = spi_master_resume(master);
1302 if (ret) {
1303 clk_disable_unprepare(spi->clk);
1304 return ret;
1305 }
1306
1307 ret = pm_runtime_get_sync(dev);
1308 if (ret) {
1309 dev_err(dev, "Unable to power device:%d\n", ret);
1310 return ret;
1311 }
1312
1313 spi->cfg->config(spi);
1314
1315 pm_runtime_mark_last_busy(dev);
1316 pm_runtime_put_autosuspend(dev);
1317
1318 return 0;
1319 }
1320 #endif
1321
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org