Hi Sergei, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on pci/next] [also build test WARNING on powerpc/next linus/master v5.7-rc3 next-20200428] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Sergei-Miroshnichenko/PCI-Allow-BAR-movement-during-boot-and-hotplug/20200428-105625 base: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next config: powerpc-defconfig (attached as .config) compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project f30416fdde922eaa655934e050026930fefbd260) reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install powerpc cross compiling tool for clang build # apt-get install binutils-powerpc-linux-gnu # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc If you fix the issue, kindly add following tag as appropriate Reported-by: kbuild test robot All warnings (new ones prefixed by >>): >> drivers/pci/pci.c:1745:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] pci_reenable_device(dev); ^~~~~~~~~~~~~~~~~~~ ~~~ 1 warning generated. vim +/warn_unused_result +1745 drivers/pci/pci.c 1732 1733 static void pci_enable_bridge(struct pci_dev *dev) 1734 { 1735 struct pci_dev *bridge; 1736 int retval; 1737 1738 mutex_lock(&dev->enable_mutex); 1739 1740 bridge = pci_upstream_bridge(dev); 1741 if (bridge) 1742 pci_enable_bridge(bridge); 1743 1744 if (pci_is_enabled(dev)) { > 1745 pci_reenable_device(dev); 1746 1747 if (!dev->is_busmaster) 1748 pci_set_master(dev); 1749 mutex_unlock(&dev->enable_mutex); 1750 return; 1751 } 1752 1753 retval = pci_enable_device(dev); 1754 if (retval) 1755 pci_err(dev, "Error enabling bridge (%d), continuing\n", 1756 retval); 1757 pci_set_master(dev); 1758 mutex_unlock(&dev->enable_mutex); 1759 } 1760 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org