summaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2008-10-23 10:36:08 +0200
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-12-29 18:24:11 +0100
commite98991130df36bc429f341a2f21519c39c52afe3 (patch)
tree3181784b0c06de8106c93e4df3cce26cc80b5488 /drivers/misc
parent[SCSI] advansys, arcmsr, ipr, nsp32, qla1280, stex: use pci_ioremap_bar() (diff)
downloadlinux-e98991130df36bc429f341a2f21519c39c52afe3.tar.xz
linux-e98991130df36bc429f341a2f21519c39c52afe3.zip
[SCSI] aacraid: check pci_alloc_consistent errors
We need to check the address that pci_alloc_consistent() returns since it might fail. When pci_alloc_consistent() fails, some IOMMUs set the dma_handle argument to zero. So we can't use fibptr->hw_fib_pa directly here. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Cc: Aacraid List <aacraid@adaptec.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/misc')
0 files changed, 0 insertions, 0 deletions