[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20171213.155123.2302738718764109294.davem@davemloft.net>
Date: Wed, 13 Dec 2017 15:51:23 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: ivan.khoronzhuk@...aro.org
Cc: grygorii.strashko@...com, netdev@...r.kernel.org,
linux-omap@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 net-next] net: ethernet: ti: cpdma: correct error
handling for chan create
From: Ivan Khoronzhuk <ivan.khoronzhuk@...aro.org>
Date: Tue, 12 Dec 2017 23:06:35 +0200
> It's not correct to return NULL when that is actually an error and
> function returns errors in any other wrong case. In the same time,
> the cpsw driver and davinci emac doesn't check error case while
> creating channel and it can miss actual error. Also remove WARNs
> replacing them on dev_err msgs.
>
> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@...aro.org>
Applied.
Powered by blists - more mailing lists