cxgb3: Check and handle the dma mapping errors
authorSantosh Rastapur <santosh@chelsio.com>
Tue, 21 May 2013 04:21:29 +0000 (04:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 May 2013 07:03:54 +0000 (00:03 -0700)
commitf83331bab149e29fa2c49cf102c0cd8c3f1ce9f9
treeb684a38521c6e26439401072677096fa00942798
parent9313eb4be3220054c07a7c34c38764ea1ebcd220
cxgb3: Check and handle the dma mapping errors

This patch adds checks at approprate places whether *dma_map*() call has
succeeded or not.

Signed-off-by: Santosh Rastapur <santosh@chelsio.com>
Reviewed-by: Jay Fenlason <fenlason@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb3/sge.c