Hello All,
It looks like the build robot did not merge the previous aacraid patches
which contained the functions aac_release_resources and aac_acquire_resources,
before applying and building this set of patches.
As is evident from the commit messages here
https://github.com/0day-ci/linux/tree/master/drivers/scsi/aacraid
This kbuild test robot can be safely ignored.
Regards,
Raghava Aditya
> -Original Message-
> From: kbuild test robot [mailto:l...@intel.com]
> Sent: Saturday, December 12, 2015 4:28 PM
> To: Raghava Aditya Renukunta
> Cc: kbuild-...@01.org; jbottom...@parallels.com; linux-scsi@vger.kernel.org;
> Mahesh Rajashekhara; Murthy Bhat; Santosh Akula; Gana Sridaran;
> aacr...@pmc-sierra.com; Scott Benesh; Raghava Aditya Renukunta
> Subject: Re: [PATCH v2 3/9] aacraid: Added EEH support
>
> Hi Raghava,
>
> [auto build test ERROR on scsi/for-next]
> [also build test ERROR on v4.4-rc4 next-20151211]
>
> url:https://github.com/0day-ci/linux/commits/Raghava-Aditya-
> Renukunta/aacraid-Patchset-for-aacraid-driver-version-41052/20151211-
> 094405
> base: https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git for-next
> config: x86_64-randconfig-r0-12130550 (attached as .config)
> reproduce:
> # save the attached .config to linux build tree
> make ARCH=x86_64
>
> All errors (new ones prefixed by >>):
>
>drivers/scsi/aacraid/linit.c: In function 'aac_pci_error_detected':
> >> drivers/scsi/aacraid/linit.c:1546:3: error: implicit declaration of
> >> function
> 'aac_release_resources' [-Werror=implicit-function-declaration]
> aac_release_resources(aac);
> ^
>drivers/scsi/aacraid/linit.c: In function 'aac_pci_resume':
> >> drivers/scsi/aacraid/linit.c:1617:2: error: implicit declaration of
> >> function
> 'aac_acquire_resources' [-Werror=implicit-function-declaration]
> aac_acquire_resources(aac);
> ^
>cc1: some warnings being treated as errors
>
> vim +/aac_release_resources +1546 drivers/scsi/aacraid/linit.c
>
> 1540
> 1541aac->handle_pci_error = 1;
> 1542aac->adapter_shutdown = 1;
> 1543
> 1544scsi_block_requests(aac->scsi_host_ptr);
> 1545aac_flush_ios(aac);
> > 1546aac_release_resources(aac);
> 1547
> 1548pci_disable_pcie_error_reporting(pdev);
> 1549aac_adapter_ioremap(aac, 0);
> 1550
> 1551return PCI_ERS_RESULT_NEED_RESET;
> 1552case pci_channel_io_perm_failure:
> 1553aac->handle_pci_error = 1;
> 1554aac->adapter_shutdown = 1;
> 1555
> 1556aac_flush_ios(aac);
> 1557return PCI_ERS_RESULT_DISCONNECT;
> 1558}
> 1559
> 1560return PCI_ERS_RESULT_NEED_RESET;
> 1561}
> 1562
> 1563static pci_ers_result_t aac_pci_mmio_enabled(struct pci_dev
> *pdev)
> 1564{
> 1565dev_err(>dev, "aacraid: PCI error - mmio
> enabled\n");
> 1566return PCI_ERS_RESULT_NEED_RESET;
> 1567}
> 1568
> 1569static pci_ers_result_t aac_pci_slot_reset(struct pci_dev *pdev)
> 1570{
> 1571dev_err(>dev, "aacraid: PCI error - slot
> reset\n");
> 1572pci_restore_state(pdev);
> 1573if (pci_enable_device(pdev)) {
> 1574dev_warn(>dev,
> 1575"aacraid: failed to enable slave\n");
> 1576goto fail_device;
> 1577}
> 1578
> 1579pci_set_master(pdev);
> 1580
> 1581if (pci_enable_device_mem(pdev)) {
> 1582dev_err(>dev, "pci_enable_device_mem
> failed\n");
> 1583goto fail_device;
> 1584}
> 1585
> 1586return PCI_ERS_RESULT_RECOVERED;
> 1587
> 1588fail_device:
> 1589dev_err(>dev, "aacraid: PCI error - slot reset
> failed\n");
> 1590return PCI_ERS_RESULT_DISCONNECT;
> 1591}
> 1592
> 1593
> 1594static void aac_pci_resume(struct pci_dev *pdev)
> 1595{
> 1596struct Scsi_Host *shost = pci_get_drvdata(pdev);
> 1597struct scsi_device *sdev = NULL;
> 1598struct aac_dev *a