On Mon, Apr 11, 2022 at 11:37:52AM +0200, Jan Beulich wrote: > struct pci_dev has the wanted value directly available; use it. Note > that this fixes a - imo benign - mistake in reassign_device(): The unity > map removal ought to be based on the passed in devfn (as is the case on > the establishing side). This is benign because the mappings would be > removed anyway a little later, when the "main" device gets processed. > While there also limit the scope of two variables in that function. > > Signed-off-by: Jan Beulich <jbeul...@suse.com>
Reviewed-by: Roger Pau Monné <roger....@citrix.com> Thanks, Roger.