)]}'
{
  "commit": "2c0b843e710aa1e2da25c2592e6dbe5d0b0ab7da",
  "tree": "5c82846f705799eda5d8d8d1a909c062ecde11eb",
  "parents": [
    "ed9953d6903c9673135a96ae1644f61cb0eac5ce"
  ],
  "author": {
    "name": "David Gibson",
    "email": "david@gibson.dropbear.id.au",
    "time": "Fri Feb 06 14:01:56 2009 +1100"
  },
  "committer": {
    "name": "Gerald Van Baren",
    "email": "vanbaren@cideas.com",
    "time": "Wed Apr 01 19:29:22 2009 -0400"
  },
  "message": "libfdt: Rework fdt_next_node()\n\nCurrently fdt_next_node() will find the next node in the blob\nregardless of whether it is above, below or at the same level in the\ntree as the starting node - the depth parameter is updated to indicate\nwhich is the case.  When a depth parameter is supplied, this patch\nmakes it instead terminate immediately when it finds the END_NODE tag\nfor a node at depth 0.  In this case it returns the offset immediately\npast the END_NODE tag.\n\nThis has a couple of advantages.  First, this slightly simplifies\nfdt_subnode_offset(), which no longer needs to explicitly check that\nfdt_next_node()\u0027s iteration hasn\u0027t left the starting node.  Second,\nthis allows fdt_next_node() to be used to implement\n_fdt_node_end_offset() considerably simplifying the latter function.\n\nThe other users of fdt_next_node() either don\u0027t need to iterate out of\nthe starting node, or don\u0027t pass a depth parameter at all.  Any\ncallers that really need to iterate out of the starting node, but keep\ntracking depth can do so by biasing the initial depth value.\n\nThis is a semantic change, but I think it\u0027s very unlikely to break any\nexisting library users.\n\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a59a518b0e2e1684d976c7e36e37063e8bce2579",
      "old_mode": 33188,
      "old_path": "libfdt/fdt.c",
      "new_id": "940cee8b126b259b40c5aa34e592bcbb8191b7f0",
      "new_mode": 33188,
      "new_path": "libfdt/fdt.c"
    },
    {
      "type": "modify",
      "old_id": "fdc9c29d2f1be93bda4de8679ab04f73d9ac4074",
      "old_mode": 33188,
      "old_path": "libfdt/fdt_ro.c",
      "new_id": "d682a40c1451e5aec7484545d7a32be4cf2a3901",
      "new_mode": 33188,
      "new_path": "libfdt/fdt_ro.c"
    },
    {
      "type": "modify",
      "old_id": "e30c81d91a91033f945b7b5782162622bf93d32e",
      "old_mode": 33188,
      "old_path": "libfdt/fdt_wip.c",
      "new_id": "e373677c504d1d854af0151f535ce508b1eeddfc",
      "new_mode": 33188,
      "new_path": "libfdt/fdt_wip.c"
    }
  ]
}
