niu: Fix to check for dma mapping errors.

Fix Neptune ethernet driver to check dma mapping error after map_page()
interface returns.

Signed-off-by: Shuah Khan <shuah.khan@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Shuah Khan 2012-07-20 11:50:35 +00:00 • committed by David S. Miller
commit ec2deec1f3