From: FUJITA Tomonori Date: Thu, 23 Oct 2008 08:36:08 +0000 (+0900) Subject: [SCSI] aacraid: check pci_alloc_consistent errors X-Git-Tag: v2.6.29-rc1~555^2~101 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e98991130df36bc429f341a2f21519c39c52afe3;p=pandora-kernel.git [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 Cc: Aacraid List Signed-off-by: James Bottomley --- Reading git-diff-tree failed