Re: [PATCH V4 14/26] pch_gbe: deprecate pci_get_bus_and_slot()

From: David Miller
Date: Tue Dec 19 2017 - 09:53:44 EST


From: Sinan Kaya <okaya@xxxxxxxxxxxxxx>
Date: Tue, 19 Dec 2017 07:17:41 -0500

> Then hard code the domain number as 0 while calling
> pci_get_domain_bus_and_slot() if you know for sure that this device
> will never work on a non-zero domain.

Agreed, it's so much better to be explicit about this.