aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorBjorn Helgaas <[email protected]>2018-01-30 12:12:33 -0600
committerBjorn Helgaas <[email protected]>2018-01-30 15:25:56 -0600
commit64c3394efd4376c5988b40bcff840e2a1a1c1f17 (patch)
tree4f9697f0e7fb26fea8ac659eab02d94fddc0a7ed /net/unix/sysctl_net_unix.c
parenta596a7becefe7ddaac0de069ffe913eb2dc43fe4 (diff)
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 <[email protected]> Reviewed-by: Keith Busch <[email protected]> Reviewed-by: Sinan Kaya <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions