Bjorn Helgaas 64c3394efd PCI/DPC: Make RP PIO log size check more generic
In dpc_probe(), we set dpc->rp_log_size to zero if we think the hardware
reports an invalid size.  In this case, we could have dpc->rp_extensions
set but dpc->rp_log_size == 0, and we should print the basic RP PIO
registers but not the variable-size portion.  We already checked for
dpc->rp_log_size < 4 above, so this patch is just for consistency of style.
No functional change intended.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Sinan Kaya <okaya@codeaurora.org>
2018-01-30 15:25:56 -06:00
..
2017-11-15 15:01:28 -08:00
2017-11-15 15:01:28 -08:00
2017-11-15 15:01:28 -08:00
2017-11-15 15:01:28 -08:00
2017-11-15 15:01:28 -08:00
2017-11-15 15:01:28 -08:00
2017-11-15 15:01:28 -08:00
2017-01-14 11:37:18 +01:00
2016-06-20 13:24:20 -05:00