)]}'
{
  "commit": "ce739b473ce12d5ef067b39b8637bfd2b2174a15",
  "tree": "cc95857da8afed8c429e9644977734c9b35f818f",
  "parents": [
    "073bd90f03d98bc3168865f21573c9b232777c13"
  ],
  "author": {
    "name": "Julia Lawall",
    "email": "julia@diku.dk",
    "time": "Sun Dec 27 11:27:44 2009 +0000"
  },
  "committer": {
    "name": "David S. Miller",
    "email": "davem@davemloft.net",
    "time": "Sun Jan 03 21:42:49 2010 -0800"
  },
  "message": "drivers/net/can: Correct NULL test\n\nTest the just-allocated value for NULL rather than some other value.\n\nThe semantic patch that makes this change is as follows:\n(http://coccinelle.lip6.fr/)\n\n// \u003csmpl\u003e\n@@\nexpression x,y;\nstatement S;\n@@\n\nx \u003d \\(kmalloc\\|kcalloc\\|kzalloc\\)(...);\n(\nif ((x) \u003d\u003d NULL) S\n|\nif (\n-   y\n+   x\n       \u003d\u003d NULL)\n S\n)\n// \u003c/smpl\u003e\n\nSigned-off-by: Julia Lawall \u003cjulia@diku.dk\u003e\nAcked-by: Oliver Hartkopp \u003coliver@hartkopp.net\u003e\nSigned-off-by: David S. Miller \u003cdavem@davemloft.net\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9c5a1537939ce5c5ce4a3f6950686c66389ea1a3",
      "old_mode": 33188,
      "old_path": "drivers/net/can/mcp251x.c",
      "new_id": "1a72ca066a17fa013a3453dcaacf694a32431fed",
      "new_mode": 33188,
      "new_path": "drivers/net/can/mcp251x.c"
    }
  ]
}
