Re: [PATCH 1/6] PCI/ASPM: Add locked helper for enabling link state

Johan Hovold
2023-11-15T16:06:32Z

On Wed, Nov 15, 2023 at 10:26:40PM +0800, kernel test robot wrote:

> >> drivers/pci/pcie/aspm.c:1186: warning: expecting prototype for pci_enable_link_state(). Prototype was for pci_enable_link_state_locked() instead
>
>
> vim +1186 drivers/pci/pcie/aspm.c
>
> 1172
> 1173 /**
> 1174 * pci_enable_link_state - Clear and set the default device link state so that

I apparently forgot to update the name here to

pci_enable_link_state_locked

[ ... ]

> 1184 */
> 1185 int pci_enable_link_state_locked(struct pci_dev *pdev, int state)

Perhaps this can be fixed up when applying, or otherwise I'll respin.

Johan