)]}'
{
  "commit": "ba6c4033b9db22cb54e7e03dae5b624b7b0ffaf9",
  "tree": "7bb9fea47fbd33a6ccc4a2c04ef52f50305cbd3c",
  "parents": [
    "defb45147b85457461bfd3e57f0ecc05c18c429e"
  ],
  "author": {
    "name": "Julia Lawall",
    "email": "julia@diku.dk",
    "time": "Tue Jan 06 14:42:25 2009 -0800"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Tue Jan 06 15:59:25 2009 -0800"
  },
  "message": "drivers/rtc: correct an error test\n\nrtc is clearly does not satisfy IS_ERR at the point where it is tested, so\nI have changed the test to consider the just initialized rtc-\u003ertc_dev.\n\nThe semantic match that finds the problem is as follows:\n(http://www.emn.fr/x-info/coccinelle/)\n\n// \u003csmpl\u003e\n@match exists@\nexpression x, E;\nidentifier fld;\nposition p1,p2;\n@@\n\n(\nx \u003d E;\n|\nx \u003d E\n|\nx@p1-\u003efld\n... when !\u003d x \u003d E\nIS_ERR(x@p2)\n... when any\n)\n\n@other_match exists@\nexpression match.x, E1, E2;\nposition match.p1,match.p2;\n@@\n\nx \u003d E1\n... when !\u003d x \u003d E2\n    when !\u003d x@p1\nx@p2\n\n@ script:python depends on !other_match@\np1 \u003c\u003c match.p1;\np2 \u003c\u003c match.p2;\n@@\n\nprint \"* file %s dereference %s test %s\" % (p1[0].file,p1[0].line,p2[0].line)\n// \u003c/smpl\u003e\n\nSigned-off-by: Julia Lawall \u003cjulia@diku.dk\u003e\nAcked-by: Alessandro Zummo \u003ca.zummo@towertech.it\u003e\nCc: David Brownell \u003cdavid-b@pacbell.net\u003e\nCc: Bryan Wu \u003cbryan.wu@analog.com\u003e\nCc: Mike Frysinger \u003cmichael.frysinger@analog.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": "34439ce3967e1844c552091fb72a0555b904644d",
      "old_mode": 33188,
      "old_path": "drivers/rtc/rtc-bfin.c",
      "new_id": "aafd3e6ebb0dfa92725f63798de226d5bf20ac72",
      "new_mode": 33188,
      "new_path": "drivers/rtc/rtc-bfin.c"
    }
  ]
}
