[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1409620375-20284-1-git-send-email-festevam@gmail.com>
Date: Mon, 1 Sep 2014 22:12:52 -0300
From: Fabio Estevam <festevam@...il.com>
To: davem@...emloft.net
Cc: linux@....linux.org.uk, B38611@...escale.com,
netdev@...r.kernel.org, Fabio Estevam <fabio.estevam@...escale.com>
Subject: [PATCH net-next 0/3] fec: Do not use NULL pointer to indicate error
From: Fabio Estevam <fabio.estevam@...escale.com>
Using IS_ERR() to indicate error can simplify the code a bit, so let's use
it when appropriate.
Fabio Estevam (3):
fec: Do not set fep->clk_ptp to NULL on error
fec: Do not set fep->clk_enet_out to NULL on error
fec: Do not set fep->reg_phy to NULL on error
drivers/net/ethernet/freescale/fec_main.c | 28 +++++++++++-----------------
1 file changed, 11 insertions(+), 17 deletions(-)
--
1.9.1
--
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