diff options
| author | FUJITA Tomonori <[email protected]> | 2008-10-23 17:36:08 +0900 |
|---|---|---|
| committer | James Bottomley <[email protected]> | 2008-12-29 11:24:11 -0600 |
| commit | e98991130df36bc429f341a2f21519c39c52afe3 (patch) | |
| tree | 3181784b0c06de8106c93e4df3cce26cc80b5488 /include/linux/debugobjects.h | |
| parent | 25729a7fb88ef2912fcb869abe3a76b3be07fc06 (diff) | |
[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 <[email protected]>
Cc: Aacraid List <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions