commit | 26de0b76d9ba3200f09c6cb9d9618bda338be5f7 | [log] [tgz] |
---|---|---|
author | Finn Thain <fthain@telegraphics.com.au> | Wed May 30 13:03:51 2018 +1000 |
committer | David S. Miller <davem@davemloft.net> | Thu May 31 14:17:33 2018 -0400 |
tree | 6adbba9287e5e56cfef7233d72b5c64152859eb6 | |
parent | f5a4941aa6d190e676065e8f4ed35999f52a01c3 [diff] |
net/sonic: Use dma_mapping_error() With CONFIG_DMA_API_DEBUG=y, calling sonic_open() produces the message, "DMA-API: device driver failed to check map error". Add the missing dma_mapping_error() call. Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Signed-off-by: Finn Thain <fthain@telegraphics.com.au> Acked-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Signed-off-by: David S. Miller <davem@davemloft.net>