diff options
author | YueHaibing <yuehaibing@huawei.com> | 2018-07-26 04:51:27 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-26 07:17:17 +0300 |
commit | b24dbfe9ce03d9f83306616f22fb0e04e8960abe (patch) | |
tree | 4d4f0d0c3fa0ce50cd9c6f21ab523051da770b83 /drivers/net/ethernet/netronome/nfp/nfp_main.c | |
parent | 756cd36626f773e9a72a39c1dd12da4deacfacdf (diff) | |
download | linux-b24dbfe9ce03d9f83306616f22fb0e04e8960abe.tar.xz |
amd-xgbe: use dma_mapping_error to check map errors
The dma_mapping_error() returns true or false, but we want
to return -ENOMEM if there was an error.
Fixes: 174fd2597b0b ("amd-xgbe: Implement split header receive support")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/netronome/nfp/nfp_main.c')
0 files changed, 0 insertions, 0 deletions