)]}'
{
  "commit": "028623418766ea64f4256035b06ac6cbc0a67892",
  "tree": "4b6b9b72bdb27d414d51fbedcbb6e2ae5d70bc15",
  "parents": [
    "447ed7360037b6e38c0206ddcbd04a256ec94099"
  ],
  "author": {
    "name": "Julia Lawall",
    "email": "julia.lawall@lip6.fr",
    "time": "Sun Oct 25 14:57:03 2015 +0100"
  },
  "committer": {
    "name": "David S. Miller",
    "email": "davem@davemloft.net",
    "time": "Mon Oct 26 22:08:12 2015 -0700"
  },
  "message": "net: phy: mdio: add missing of_node_put\n\nfor_each_available_child_of_node performs an of_node_get on each iteration, so\na break out of the loop requires an of_node_put.\n\nA simplified version of the semantic patch that fixes this problem is as\nfollows (http://coccinelle.lip6.fr):\n\n// \u003csmpl\u003e\n@@\nexpression root,e;\nlocal idexpression child;\n@@\n\n for_each_available_child_of_node(root, child) {\n   ... when !\u003d of_node_put(child)\n       when !\u003d e \u003d child\n(\n   return child;\n|\n+  of_node_put(child);\n?  return ...;\n)\n   ...\n }\n// \u003c/smpl\u003e\n\nSigned-off-by: Julia Lawall \u003cJulia.Lawall@lip6.fr\u003e\nSigned-off-by: David S. Miller \u003cdavem@davemloft.net\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2377c1341172f6ac6fb56eeaf835b7fc577e1593",
      "old_mode": 33188,
      "old_path": "drivers/net/phy/mdio-mux-mmioreg.c",
      "new_id": "7fde454fbc4f1762b2c0bb35cf41f60580fd16ed",
      "new_mode": 33188,
      "new_path": "drivers/net/phy/mdio-mux-mmioreg.c"
    }
  ]
}
