As this fix is purely SRIOV related, an ifdef guard for SRIOV support should be sufficient to prevent this header dependency. Ananth On Sep 3, 2016, at 5:16 PM, kbuild test robot <fengguang.wu@xxxxxxxxx> wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master > head: 10faa8c0d6c3b22466f97713a9533824a2ea1c57 > commit: 21b5b8eebbae427d7d890b7dd1e43a63aca7c26c [65/80] PCI: quirk fixup for cavium invalid sriov link value. > config: arm64-kexec_dev_defconfig (attached as .config) > compiler: aarch64-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609 > reproduce: > wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > git checkout 21b5b8eebbae427d7d890b7dd1e43a63aca7c26c > # save the attached .config to linux build tree > make.cross ARCH=arm64 > > All errors (new ones prefixed by >>): > > drivers/pci/quirks.c: In function 'quirk_cavium_sriov_rnm_link': >>> drivers/pci/quirks.c:843:6: error: 'struct pci_dev' has no member named 'sriov' > dev->sriov->link = dev->devfn; > ^ > > vim +843 drivers/pci/quirks.c > > 837 #ifdef CONFIG_ARM64 > 838 > 839 static void quirk_cavium_sriov_rnm_link(struct pci_dev *dev) > 840 { > 841 /* Fix for improper SRIOV configuration on Cavium cn88xx RNM device */ > 842 if (dev->subsystem_device == 0xa118) >> 843 dev->sriov->link = dev->devfn; > 844 } > 845 DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_CAVIUM, 0xa018, quirk_cavium_sriov_rnm_link); > 846 #endif > > --- > 0-DAY kernel test infrastructure Open Source Technology Center > https://lists.01.org/pipermail/kbuild-all Intel Corporation > <.config.gz> -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html