cxgb3: Check and handle the dma mapping errors
authorArjun Vynipadath <arjun@chelsio.com>
Fri, 27 Oct 2017 12:38:21 +0000 (18:08 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sun, 29 Oct 2017 02:10:17 +0000 (11:10 +0900)
commitc69fe407803d4b554b7397fad9598a04717ac255
tree7676c9b2611b2020c529a5b9645ae67bcfc6d062
parent509708310cf917a05fbceb41ad67da1416b81bd0
cxgb3: Check and handle the dma mapping errors

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

Original Work by: Santosh Rastapur <santosh@chelsio.com>
Signed-off-by: Arjun Vynipadath <arjun@chelsio.com>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb3/sge.c