aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorBjorn Helgaas <[email protected]>2016-01-05 21:56:30 +0000
committerBjorn Helgaas <[email protected]>2016-01-11 14:37:15 +0000
commit67de2dc34cc30d334cb66ab4f466e80f04d5b618 (patch)
treee282df825640d717e00e914c99e533f0d5f40541 /net/unix/af_unix.c
parentPCI: designware: Simplify control flow (diff)
downloadkernel-67de2dc34cc30d334cb66ab4f466e80f04d5b618.tar.gz
kernel-67de2dc34cc30d334cb66ab4f466e80f04d5b618.zip
PCI: designware: Make config accessor override checking symmetric
Drivers based on the DesignWare core can override the config read accessors by supplying rd_own_conf() and rd_other_conf() function pointers. dw_pcie_rd_conf() calls dw_pcie_rd_own_conf() (for accesses to the root bus) or dw_pcie_rd_other_conf(): dw_pcie_rd_conf dw_pcie_rd_own_conf # if on root bus dw_pcie_rd_other_conf # if not on root bus Previously we checked for rd_other_conf() directly in dw_pcie_rd_conf(), but we checked for rd_own_conf() in dw_pcie_rd_own_conf(). Check for rd_other_conf() in dw_pcie_rd_other_conf() to make this symmetric with the rd_own_conf() checking, and similarly for the write path. No functional change intended. Signed-off-by: Bjorn Helgaas <[email protected]> Acked-by: Pratyush Anand <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions