)]}'
{
  "commit": "0853699252afdeece69c9127d57fd367d3c04a35",
  "tree": "591115b3f18593cf52f358ac52960a6e48a50182",
  "parents": [
    "8feffd109977c045669913f4e80e8811f2212cd9"
  ],
  "author": {
    "name": "Julia Lawall",
    "email": "julia.lawall@lip6.fr",
    "time": "Sun Jan 06 12:46:23 2013 -0800"
  },
  "committer": {
    "name": "Anton Vorontsov",
    "email": "anton@enomsg.org",
    "time": "Sun Jan 06 12:46:23 2013 -0800"
  },
  "message": "88pm860x_battery: Eliminate possible references to released resources\n\ndevm_kzalloc should not be followed by kfree, as this results in a double\nfree.  The problem was found using the following semantic match\n(http://coccinelle.lip6.fr/):\n\n// \u003csmpl\u003e\n@@\nexpression x,e;\n@@\nx \u003d devm_kzalloc(...)\n... when !\u003d x \u003d e\n?-kfree(x,...);\n// \u003c/smpl\u003e\n\nFurthermore, in the remove function, the calls to free_irq are moved up to\nprevent a possible reference in the interrupt handler to resources freed by\npower_supply_unregister.\n\nSigned-off-by: Julia Lawall \u003cJulia.Lawall@lip6.fr\u003e\nSigned-off-by: Anton Vorontsov \u003canton@enomsg.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8bc80b05c63c86b17ebe5a9b2c9abbc9ca8e0f9d",
      "old_mode": 33188,
      "old_path": "drivers/power/88pm860x_battery.c",
      "new_id": "d338c1c4e8c8522c88014861a5f93b213e0191d1",
      "new_mode": 33188,
      "new_path": "drivers/power/88pm860x_battery.c"
    }
  ]
}
