Skip to content

of_mdio: use IS_ERR_OR_NULL() and PTR_ERR_OR_ZERO()

Sergei Shtylyov linux-devicetree netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 3 repliesIn review
  2. v12 patches 5 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3of_mdio: mdio_device_create() never returns NULLdrivers/of/of_mdio.c+1 -10 replies
2/3of_mdio: use IS_ERR_OR_NULL()drivers/of/of_mdio.c+1 -12 replies
3/3of_mdio: use PTR_ERR_OR_ZERO()drivers/of/of_mdio.c+3 -30 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchFlorian FainelliVladimir Zapolskiy
1/3
2/3R-b
3/3R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] of_mdio: use IS_ERR_OR_NULL() and PTR_ERR_OR_ZERO()

Hello.

Here's the set of 3 patches against DaveM's 'net-next.git' repo. They deal
with some error checks in the device tree MDIO code...

[1/3] of_mdio: mdio_device_create() never returns NULL [2/3] of_mdio: use IS_ERR_OR_NULL()
[3/3] of_mdio: use PTR_ERR_OR_ZERO()

MBR, Sergei