diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-02-01 11:52:15 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-01 12:45:27 -0500 |
commit | ff1176f6164f3d151ee64c05d3f7b6662a81b982 (patch) | |
tree | 50565c4765a87c28daf243747c9429cc704b3876 /net/atm/resources.h | |
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>
Diffstat (limited to 'net/atm/resources.h')
0 files changed, 0 insertions, 0 deletions