qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [for-2.12 5/7] pci: Add pci_dev_bus_num() helper


From: Peter Xu
Subject: Re: [Qemu-devel] [for-2.12 5/7] pci: Add pci_dev_bus_num() helper
Date: Thu, 30 Nov 2017 14:42:01 +0800
User-agent: Mutt/1.9.1 (2017-09-22)

On Wed, Nov 29, 2017 at 07:46:26PM +1100, David Gibson wrote:
> A fair proportion of the users of pci_bus_num() want to get the bus
> number on a specific device, so first have to look up the bus from the
> device then call it.  This adds a helper to do that (since we're going
> to make looking up the bus slightly more verbose).
> 
> Signed-off-by: David Gibson <address@hidden>

Reviewed-by: Peter Xu <address@hidden>

-- 
Peter Xu



reply via email to

[Prev in Thread] Current Thread [Next in Thread]