summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorGabriele Paoloni <gabriele.paoloni@huawei.com>2015-10-08 22:27:53 +0300
committerBjorn Helgaas <bhelgaas@google.com>2015-11-02 23:48:45 +0300
commitb6b18f589e1ddbfbc31f72ea7fb8a723a2d10058 (patch)
treeb3eed584ffa7dfc38ccb617ef5fc795741630bf1 /Documentation
parent4c45852f494dab827291c656ee9e12f3f4ee64d6 (diff)
downloadlinux-b6b18f589e1ddbfbc31f72ea7fb8a723a2d10058.tar.xz
PCI: designware: Require config accesses to be naturally aligned
Add sanity checks on "addr" input parameter in dw_pcie_cfg_read() and dw_pcie_cfg_write(). These checks make sure that accesses are aligned on their size, e.g., a 4-byte config access is aligned on a 4-byte boundary. [bhelgaas: changelog, set *val = 0 in failure case] Signed-off-by: Gabriele Paoloni <gabriele.paoloni@huawei.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Pratyush Anand <pratyush.anand@gmail.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions