fec: Do not use NULL pointer to indicate error
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | fec: Do not set fep->clk_ptp to NULL on errordrivers/ | +3 | 0 replies | |
| 2/3 | fec: Do not set fep->clk_enet_out to NULL on errordrivers/ | +3 | 0 replies | |
| 3/3 | fec: Do not set fep->reg_phy to NULL on errordrivers/ | +5 | 0 replies |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Fugang Duan |
|---|---|
| Series | A-b |
| 1/3 | |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next 0/3] fec: Do not use NULL pointer to indicate error
From: Fabio Estevam <[email protected]>
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(-)
Signature · 1 line
1.9.1