Re: [PATCH] pci: drop link_reset

From: kbuild test robot
Date: Thu Jan 19 2017 - 10:35:00 EST


Hi Michael,

[auto build test ERROR on pci/next]
[also build test ERROR on v4.10-rc4]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Michael-S-Tsirkin/pci-drop-link_reset/20170119-222234
base: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next
config: x86_64-randconfig-i0-201703 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

>> drivers/misc/genwqe/card_base.c:1339:2: error: unknown field 'link_reset' specified in initializer
.link_reset = genwqe_err_result_none,
^

vim +/link_reset +1339 drivers/misc/genwqe/card_base.c

12eb4683 Frank Haverkamp 2013-12-09 1333 return 0;
12eb4683 Frank Haverkamp 2013-12-09 1334 }
12eb4683 Frank Haverkamp 2013-12-09 1335
12eb4683 Frank Haverkamp 2013-12-09 1336 static struct pci_error_handlers genwqe_err_handler = {
12eb4683 Frank Haverkamp 2013-12-09 1337 .error_detected = genwqe_err_error_detected,
12eb4683 Frank Haverkamp 2013-12-09 1338 .mmio_enabled = genwqe_err_result_none,
12eb4683 Frank Haverkamp 2013-12-09 @1339 .link_reset = genwqe_err_result_none,
fb145456 Kleber Sacilotto de Souza 2014-06-04 1340 .slot_reset = genwqe_err_slot_reset,
12eb4683 Frank Haverkamp 2013-12-09 1341 .resume = genwqe_err_resume,
12eb4683 Frank Haverkamp 2013-12-09 1342 };

:::::: The code at line 1339 was first introduced by commit
:::::: 12eb4683251ebfb12afba9c56556fade7a3d7372 GenWQE PCI support, health monitoring and recovery

:::::: TO: Frank Haverkamp <haver@xxxxxxxxxxxxxxxxxx>
:::::: CC: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip