aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-03-21 23:42:27 +0300
committerDavid S. Miller <davem@davemloft.net>2017-03-22 12:46:10 -0700
commit31c7ba9eff5d8a9f20057082eb44cc3c6a1fb3d6 (patch)
tree0fd02440a47a0bb7dfbe2f09ed682ea67d0d478a /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parenta7678c70ef624dde4f9f08ad6e99f2ff4dbdee57 (diff)
net: dwc-xlgmac: fix an error code in xlgmac_alloc_pages()
The dma_mapping_error() returns true if there is an error but we want to return -ENOMEM and not 1. Fixes: 65e0ace2c5cd ("net: dwc-xlgmac: Initial driver for DesignWare Enterprise Ethernet") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Jie Deng <jiedeng@synopsys.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions