Re: [patch] of: check for IS_ERR()

2010-03-29 Thread Dan Carpenter
On Fri, Feb 26, 2010 at 01:54:20AM -0800, David Miller wrote: From: Dan Carpenter erro...@gmail.com Date: Fri, 26 Feb 2010 12:49:41 +0300 get_phy_device() can return an ERR_PTR() Signed-off-by: Dan Carpenter erro...@gmail.com --- I don't have a cross compile environment set up so I

[patch] of: check for IS_ERR()

2010-02-26 Thread Dan Carpenter
get_phy_device() can return an ERR_PTR() Signed-off-by: Dan Carpenter erro...@gmail.com --- I don't have a cross compile environment set up so I can't even compile test this. :/ But err.h is included so it should be OK. diff --git a/drivers/of/of_mdio.c b/drivers/of/of_mdio.c index