tree: https://github.com/l1k/linux doe head: 1cfd89319d6406a03332e11c97dc1947e3e5e38f commit: 0464df9d1dccac6ccfd50516f3fdedefc486698a [1/6] PCI/DOE: Provide synchronous API config: x86_64-randconfig-a011 compiler: gcc-11 (Debian 11.3.0-8) 11.3.0 reproduce (this is a W=1 build): # https://github.com/l1k/linux/commit/0464df9d1dccac6ccfd50516f3fdedefc486698a git remote add l1k https://github.com/l1k/linux git fetch --no-tags l1k doe git checkout 0464df9d1dccac6ccfd50516f3fdedefc486698a # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All errors (new ones prefixed by >>): drivers/pci/doe.c: In function 'pci_doe_discovery': >> drivers/pci/doe.c:366:14: error: implicit declaration of function 'pci_doe_exchange'; did you mean 'd_exchange'? [-Werror=implicit-function-declaration] 366 | rc = pci_doe_exchange(doe_mb, PCI_VENDOR_ID_PCI_SIG, | ^~~~~~~~~~~~~~~~ | d_exchange cc1: some warnings being treated as errors -- drivers/cxl/core/pci.c: In function 'cxl_cdat_get_length': >> drivers/cxl/core/pci.c:501:14: error: implicit declaration of function 'pci_doe_exchange'; did you mean 'd_exchange'? [-Werror=implicit-function-declaration] 501 | rc = pci_doe_exchange(cdat_doe, PCI_DVSEC_VENDOR_ID_CXL, | ^~~~~~~~~~~~~~~~ | d_exchange cc1: some warnings being treated as errors vim +366 drivers/pci/doe.c 357 358 static int pci_doe_discovery(struct pci_doe_mb *doe_mb, u8 *index, u16 *vid, 359 u8 *protocol) 360 { 361 u32 request_pl = FIELD_PREP(PCI_DOE_DATA_OBJECT_DISC_REQ_3_INDEX, 362 *index); 363 u32 response_pl; 364 int rc; 365 > 366 rc = pci_doe_exchange(doe_mb, PCI_VENDOR_ID_PCI_SIG, 367 PCI_DOE_PROTOCOL_DISCOVERY, 368 &request_pl, sizeof(request_pl), 369 &response_pl, sizeof(response_pl)); 370 if (rc < 0) 371 return rc; 372 373 if (rc != sizeof(response_pl)) 374 return -EIO; 375 376 *vid = FIELD_GET(PCI_DOE_DATA_OBJECT_DISC_RSP_3_VID, response_pl); 377 *protocol = FIELD_GET(PCI_DOE_DATA_OBJECT_DISC_RSP_3_PROTOCOL, 378 response_pl); 379 *index = FIELD_GET(PCI_DOE_DATA_OBJECT_DISC_RSP_3_NEXT_INDEX, 380 response_pl); 381 382 return 0; 383 } 384 -- 0-DAY CI Kernel Test Service https://01.org/lkp