fsl/fman: Fix some error handling code in mac_probe
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | fsl/fman: Remove a useless call to 'dev_set_drvdata()'drivers/ | +0 | 0 replies | |
| 2/4 | fsl/fman: Remove some useless codedrivers/ | +2 | 1 reply | |
| 3/4 | fsl/fman: Add a missing 'of_node_put()' call in an error handling pathdrivers/ | +1 | 0 replies | |
| 4/4 | fsl/fman: Remove a useless 'dev_err()' calldrivers/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] fsl/fman: Fix some error handling code in mac_probe
Commit c6e26ea8c893 ("dpaa_eth: change device used") generated some conflicts in my patches waiting for submission. So I took a closer look at it.
So here is a serie of 4 patches.
The 1st one is just about a spurious call to 'dev_set_drvdata()', which is done in only 1 error handling path in the function.
The 2nd one removes some devm_iounmap/release/kfree functions which look useless to me.
The 3rd one fixes a missing of_node_put.
The 4th one is just cosmetic and removes a useless message.
Christophe JAILLET (4):
fsl/fman: Remove a useless call to 'dev_set_drvdata()' fsl/fman: Remove some useless code
fsl/fman: Add a missing 'of_node_put()' call in an error handling path fsl/fman: Remove a useless 'dev_err()' call
drivers/net/ethernet/freescale/fman/mac.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-)
Signature · 1 line
2.14.1