Re: [PATCH v1 1/4] ACPI: PCI: Use a mutex guard to simplify acpi_get_pci_dev()
Andy Shevchenko <[email protected]>
| Newsgroups | org.kernel.vger.linux-acpi,org.kernel.vger.linux-kernel,org.kernel.vger.linux-pci |
|---|---|
| Organization | Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo |
| Message-ID | <[email protected]> |
On Wed, Jul 15, 2026 at 05:15:02PM +0200, Rafael J. Wysocki wrote: > Use a mutex guard in acpi_get_pci_dev() for the physical_node_lock > locking and drop local variable pci_dev that becomes redundant after > that change. > > No intentional functional impact. ... > - mutex_lock(&adev->physical_node_lock); > + guard(mutex)(&adev->physical_node_lock); This needs a cleanup.h to be included (yes, I see the current inclusion block and it's a mess :-( ). -- With Best Regards, Andy Shevchenko