tree:
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git
queue-4.19
head: 04fa2e7393f8630fd68f83973769b8978ece8d79
commit: c2557bd9505175e6831dd2ddd55afada99270901 [41/65] spi: stm32: fixes suspend/resume
management
config: arm-randconfig-r024-20200824 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
b587ca93be114d07ec3bf654add97d7872325281)
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 arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
git checkout c2557bd9505175e6831dd2ddd55afada99270901
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm
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:1313:7: error: no member named
'cfg' in 'struct stm32_spi'
spi->cfg->config(spi);
~~~ ^
1 error generated.
#
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.19
git checkout c2557bd9505175e6831dd2ddd55afada99270901
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