diff options
author | Yijing Wang <wangyijing@huawei.com> | 2013-09-05 09:55:25 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-09-24 01:30:03 +0200 |
commit | c0102c00d8c9f4109509d9d68631a1ad47703b5f (patch) | |
tree | ff3e9ce1eff09b5af990e73565949c7b4421d487 /mm/nobootmem.c | |
parent | x86/pci: Use cached pci_dev->pcie_cap to simplify code (diff) | |
download | linux-c0102c00d8c9f4109509d9d68631a1ad47703b5f.tar.xz linux-c0102c00d8c9f4109509d9d68631a1ad47703b5f.zip |
[SCSI] bfa: Use pcie_set()/get_readrq() to simplify code
Use pcie_get_readrq()/pcie_set_readrq() to simplify code.
Jon Mason proposed a similar patch a couple years ago (see below).
[bhelgaas: validate pcie_max_read_reqsz, add pointer to Jon's patch]
Reference: http://lkml.kernel.org/r/1309191190-14670-1-git-send-email-jdmason@kudzu.us
Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Jiang Liu <jiang.liu@huawei.com>
Cc: Anil Gurumurthy <agurumur@brocade.com>
Cc: Vijaya Mohan Guvva <vmohan@brocade.com>
Cc: "James E.J. Bottomley" <JBottomley@parallels.com>
Diffstat (limited to 'mm/nobootmem.c')
0 files changed, 0 insertions, 0 deletions