]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
IB/ipath: Check return value of dma_map_single()
authorRalph Campbell <ralph.campbell@qlogic.com>
Fri, 5 Dec 2008 19:13:18 +0000 (11:13 -0800)
committerRoland Dreier <rolandd@cisco.com>
Fri, 5 Dec 2008 19:13:18 +0000 (11:13 -0800)
commit890fccb2427d53b48ab9d009fd87d55bcb173f62
tree52d8f1bbb2dad19bb79c147beac3119fe0ae4ed8
parentfab01fc56063dafcc083f481ac0f9e6b5a576dd6
IB/ipath: Check return value of dma_map_single()

This fixes an obvious oversight where the return value is not checked
for error.

Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_sdma.c