Re: [PATCH] PCI: hv: fix pci-hyperv build, depends on SYSFS
From: Randy Dunlap
Date: Wed Jul 03 2019 - 01:05:42 EST
On 7/2/19 9:33 PM, Dexuan Cui wrote:
>> From: linux-hyperv-owner@xxxxxxxxxxxxxxx
>> <linux-hyperv-owner@xxxxxxxxxxxxxxx> On Behalf Of Randy Dunlap
>> Sent: Tuesday, July 2, 2019 4:25 PM
>> ERROR: "pci_destroy_slot" [drivers/pci/controller/pci-hyperv.ko] undefined!
>> ERROR: "pci_create_slot" [drivers/pci/controller/pci-hyperv.ko] undefined!
>>
>> drivers/pci/slot.o is only built when SYSFS is enabled, so
>> pci-hyperv.o has an implicit dependency on SYSFS.
>> Make that explicit.
>>
>> Also, depending on X86 && X86_64 is not needed, so just change that
>> to depend on X86_64.
>>
>> Fixes: 4daace0d8ce8 ("PCI: hv: Add paravirtual PCI front-end for Microsoft
>> Hyper-V VMs")
>
> I think the Fixes tag should be:
> Fixes: a15f2c08c708 ("PCI: hv: support reporting serial number as slot information")
>
> Thanks,
> -- Dexuan
>
Thanks. I did have a little trouble with that.
--
~Randy