[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170322.124629.675577955142901395.davem@davemloft.net>
Date: Wed, 22 Mar 2017 12:46:29 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: dan.carpenter@...cle.com
Cc: jiedeng@...opsys.com, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [patch -next] net: dwc-xlgmac: fix an error code in
xlgmac_alloc_pages()
From: Dan Carpenter <dan.carpenter@...cle.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.carpenter@...cle.com>
Applied, thanks Dan.
Powered by blists - more mailing lists