commit | ff1176f6164f3d151ee64c05d3f7b6662a81b982 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Feb 01 11:52:15 2017 +0300 |
committer | David S. Miller <davem@davemloft.net> | Wed Feb 01 12:45:27 2017 -0500 |
tree | 50565c4765a87c28daf243747c9429cc704b3876 | |
parent | cdb478e5e413864df73096ef4f0e5d518395a92b [diff] |
ethernet: aquantia: fix dma_mapping_error test dma_mapping_error() returns 1 if there is an error and 0 if not. Fixes: 018423e90bee ("net: ethernet: aquantia: Add ring support code") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>