[PATCH v4 0/7] xen-pciback: misc cleanup

From: Jan Beulich
Date: Wed Jul 06 2016 - 02:47:24 EST


The first five patches are the result of the requested split of
"xen-pciback: clean up {bar,rom}_init()", with Boris'es R-b
dropped despite there not being any functional change (the
mechanical change appears too significant to retain it). The
remaining two are a follow-up to the recent "xen/pciback: Fix
conf_space read/write overlap check." and I hope the folding
in of the formatting correction of two lines touched anyway is
going to be acceptable this time.

1: drop unused function parameter of read_dev_bar()
2: drop rom_init()
3: fold read_dev_bar() into its now single caller
4: simplify determination of 64-bit memory resource
5: use const and unsigned in bar_init()
6: short-circuit read path used for merging write values
7: drop superfluous variables

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>