Hi Zhuo, FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant. tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 840126e36e8ff272cb63158646433fa1324533d9 commit: f391051e66b974a05003868fa814d960d0fe955f [4066/5667] PCI/AER: Use pci_aer_clear_uncorrect_error_status() to clear uncorrectable error status config: ia64-allmodconfig compiler: ia64-linux-gcc (GCC) 12.1.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 # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=f391051e66b974a05003868fa814d960d0fe955f git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout f391051e66b974a05003868fa814d960d0fe955f # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=ia64 SHELL=/bin/bash drivers/crypto/hisilicon/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot Note: the linux-next/master HEAD 840126e36e8ff272cb63158646433fa1324533d9 builds fine. It may have been fixed somewhere. All errors (new ones prefixed by >>): drivers/crypto/hisilicon/qm.c: In function 'hisi_qm_dev_slot_reset': >> drivers/crypto/hisilicon/qm.c:5469:9: error: implicit declaration of function 'pci_aer_clear_nonfatal_status'; did you mean 'pci_aer_clear_uncorrect_error_status'? [-Werror=implicit-function-declaration] 5469 | pci_aer_clear_nonfatal_status(pdev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | pci_aer_clear_uncorrect_error_status cc1: some warnings being treated as errors vim +5469 drivers/crypto/hisilicon/qm.c 6c6dd5802c2d67 Shukun Tan 2020-04-03 5453 6c6dd5802c2d67 Shukun Tan 2020-04-03 5454 /** 6c6dd5802c2d67 Shukun Tan 2020-04-03 5455 * hisi_qm_dev_slot_reset() - slot reset 6c6dd5802c2d67 Shukun Tan 2020-04-03 5456 * @pdev: the PCIe device 6c6dd5802c2d67 Shukun Tan 2020-04-03 5457 * 6c6dd5802c2d67 Shukun Tan 2020-04-03 5458 * This function offers QM relate PCIe device reset interface. Drivers which 6c6dd5802c2d67 Shukun Tan 2020-04-03 5459 * use QM can use this function as slot_reset in its struct pci_error_handlers. 6c6dd5802c2d67 Shukun Tan 2020-04-03 5460 */ 6c6dd5802c2d67 Shukun Tan 2020-04-03 5461 pci_ers_result_t hisi_qm_dev_slot_reset(struct pci_dev *pdev) 6c6dd5802c2d67 Shukun Tan 2020-04-03 5462 { 6c6dd5802c2d67 Shukun Tan 2020-04-03 5463 struct hisi_qm *qm = pci_get_drvdata(pdev); 6c6dd5802c2d67 Shukun Tan 2020-04-03 5464 int ret; 6c6dd5802c2d67 Shukun Tan 2020-04-03 5465 6c6dd5802c2d67 Shukun Tan 2020-04-03 5466 if (pdev->is_virtfn) 6c6dd5802c2d67 Shukun Tan 2020-04-03 5467 return PCI_ERS_RESULT_RECOVERED; 6c6dd5802c2d67 Shukun Tan 2020-04-03 5468 6c6dd5802c2d67 Shukun Tan 2020-04-03 @5469 pci_aer_clear_nonfatal_status(pdev); 6c6dd5802c2d67 Shukun Tan 2020-04-03 5470 6c6dd5802c2d67 Shukun Tan 2020-04-03 5471 /* reset pcie device controller */ 6c6dd5802c2d67 Shukun Tan 2020-04-03 5472 ret = qm_controller_reset(qm); 6c6dd5802c2d67 Shukun Tan 2020-04-03 5473 if (ret) { 6c6dd5802c2d67 Shukun Tan 2020-04-03 5474 pci_err(pdev, "Controller reset failed (%d)\n", ret); 6c6dd5802c2d67 Shukun Tan 2020-04-03 5475 return PCI_ERS_RESULT_DISCONNECT; 6c6dd5802c2d67 Shukun Tan 2020-04-03 5476 } 6c6dd5802c2d67 Shukun Tan 2020-04-03 5477 6c6dd5802c2d67 Shukun Tan 2020-04-03 5478 return PCI_ERS_RESULT_RECOVERED; 6c6dd5802c2d67 Shukun Tan 2020-04-03 5479 } 6c6dd5802c2d67 Shukun Tan 2020-04-03 5480 EXPORT_SYMBOL_GPL(hisi_qm_dev_slot_reset); 6c6dd5802c2d67 Shukun Tan 2020-04-03 5481 :::::: The code at line 5469 was first introduced by commit :::::: 6c6dd5802c2d6769fa589c0e8de54299def199a7 crypto: hisilicon/qm - add controller reset interface :::::: TO: Shukun Tan :::::: CC: Herbert Xu -- 0-DAY CI Kernel Test Service https://01.org/lkp