]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit346f4886f1f2fa05e95f1300fa0ad19e8ffff712
tree7676c9b2611b2020c529a5b9645ae67bcfc6d062
parente446249f5b37ceaf8023aff5a9f9c84bdda754d8
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