From: Dan Carpenter <dan.carpen...@oracle.com> Date: Tue, 21 Mar 2017 23:42:27 +0300
> 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.carpen...@oracle.com> Applied, thanks Dan.