[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140922.160313.17177368094902322.davem@davemloft.net>
Date: Mon, 22 Sep 2014 16:03:13 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: tklauser@...tanz.ch
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net] dm9000: Return an ERR_PTR() in all error
conditions of dm9000_parse_dt()
From: Tobias Klauser <tklauser@...tanz.ch>
Date: Fri, 19 Sep 2014 16:16:25 +0200
> In one error condition dm9000_parse_dt() returns NULL, however the
> return value is checked using IS_ERR() in dm9000_probe(), leading to the
> error not being properly propagated if CONFIG_OF is not enabled or the
> device tree data is not available. Fix this by also returning an
> ERR_PTR() in this case.
>
> Fixes: 0b8bf1baabe5 (net: dm9000: Allow instantiation using device tree)
> Signed-off-by: Tobias Klauser <tklauser@...tanz.ch>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists