)]}'
{
  "commit": "4de85cd6d6018825e19f76f1208775f23ecc393f",
  "tree": "117e765f4e24c4a67668ea96cfcc85a88793365c",
  "parents": [
    "c5cf6359ad1d322c16e159011247341849cc0d3a"
  ],
  "author": {
    "name": "Julia Lawall",
    "email": "julia@diku.dk",
    "time": "Wed May 26 14:43:44 2010 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Thu May 27 09:12:49 2010 -0700"
  },
  "message": "ipc/sem.c: use ERR_CAST\n\nUse ERR_CAST(x) rather than ERR_PTR(PTR_ERR(x)).  The former makes more\nclear what is the purpose of the operation, which otherwise looks like a\nno-op.\n\nThe semantic patch that makes this change is as follows:\n(http://coccinelle.lip6.fr/)\n\n// \u003csmpl\u003e\n@@\ntype T;\nT x;\nidentifier f;\n@@\n\nT f (...) { \u003c+...\n- ERR_PTR(PTR_ERR(x))\n+ x\n ...+\u003e }\n\n@@\nexpression x;\n@@\n\n- ERR_PTR(PTR_ERR(x))\n+ ERR_CAST(x)\n// \u003c/smpl\u003e\n\nSigned-off-by: Julia Lawall \u003cjulia@diku.dk\u003e\nCc: Manfred Spraul \u003cmanfred@colorfullife.com\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5b33228db7980d15227cb7f6ff98dc5ab5898607",
      "old_mode": 33188,
      "old_path": "ipc/sem.c",
      "new_id": "506c8491a8d131761432aa306e51eef441863887",
      "new_mode": 33188,
      "new_path": "ipc/sem.c"
    }
  ]
}
