tree: https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git controller/qcom head: dc8d33452b3643f4b4c33fd4492aa7ae4e8e00d6 commit: ca0e2aad27202b971def5a3dfeffb23d80ebe350 [17/27] PCI: qcom: Add support for system suspend and resume config: riscv-randconfig-r036-20230409 (https://download.01.org/0day-ci/archive/20230412/202304120557.LijMReu1-lkp@xxxxxxxxx/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project 2c57868e2e877f73c339796c3374ae660bb77f0d) 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 riscv cross compiling tool for clang build # apt-get install binutils-riscv64-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git/commit/?id=ca0e2aad27202b971def5a3dfeffb23d80ebe350 git remote add pci https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git git fetch --no-tags pci controller/qcom git checkout ca0e2aad27202b971def5a3dfeffb23d80ebe350 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash drivers/pci/controller/dwc/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot <lkp@xxxxxxxxx> | Link: https://lore.kernel.org/oe-kbuild-all/202304120557.LijMReu1-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): >> drivers/pci/controller/dwc/pcie-qcom.c:247:1: error: type name requires a specifier or qualifier + bool suspended; ^ >> drivers/pci/controller/dwc/pcie-qcom.c:247:1: error: expected member name or ';' after declaration specifiers >> drivers/pci/controller/dwc/pcie-qcom.c:246:25: error: expected ';' at end of declaration list struct dentry *debugfs; ^ ; >> drivers/pci/controller/dwc/pcie-qcom.c:1574:9: error: no member named 'suspended' in 'struct qcom_pcie' pcie->suspended = true; ~~~~ ^ drivers/pci/controller/dwc/pcie-qcom.c:1585:12: error: no member named 'suspended' in 'struct qcom_pcie' if (pcie->suspended) { ~~~~ ^ drivers/pci/controller/dwc/pcie-qcom.c:1590:9: error: no member named 'suspended' in 'struct qcom_pcie' pcie->suspended = false; ~~~~ ^ 6 errors generated. vim +247 drivers/pci/controller/dwc/pcie-qcom.c 235 236 struct qcom_pcie { 237 struct dw_pcie *pci; 238 void __iomem *parf; /* DT parf */ 239 void __iomem *elbi; /* DT elbi */ 240 void __iomem *mhi; 241 union qcom_pcie_resources res; 242 struct phy *phy; 243 struct gpio_desc *reset; 244 struct icc_path *icc_mem; 245 const struct qcom_pcie_cfg *cfg; > 246 struct dentry *debugfs; > 247 + bool suspended; 248 }; 249 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests