Re: [PATCH v6 8/8] PCI: Change the type of probe argument in reset functions

From: Shanker R Donthineni
Date: Mon Jun 07 2021 - 20:45:03 EST


Hi Amey,

On 6/7/21 1:21 PM, Amey Narkhede wrote:
> int pci_acpi_program_hp_params(struct pci_dev *dev);
> extern const struct attribute_group pci_dev_acpi_attr_group;
> void pci_set_acpi_fwnode(struct pci_dev *dev);
> -int pci_dev_acpi_reset(struct pci_dev *dev, int probe);
> +int pci_dev_acpi_reset(struct pci_dev *dev, pci_reset_mode_t mode);
> #else
> static inline int pci_dev_acpi_reset(struct pci_dev *dev, int probe)
> {
Prototype mismatch, build kernel with CONFIG_ACPI=n to catch this issue.