)]}'
{
  "commit": "435263702ef0fc9ffdc6301a71c03b1d9ac0f1e0",
  "tree": "43a0b94a415559b55a60cadecf04d819f2c9285c",
  "parents": [
    "2b252c541158cfed9d7e5b019b894fe2174f5908"
  ],
  "author": {
    "name": "Julia Lawall",
    "email": "julia@diku.dk",
    "time": "Wed Oct 15 22:05:23 2008 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Thu Oct 16 11:21:52 2008 -0700"
  },
  "message": "drivers/net/xen-netfront.c: Use DIV_ROUND_UP\n\nThe kernel.h macro DIV_ROUND_UP performs the computation (((n) + (d) - 1) /\n(d)) but is perhaps more readable.\n\nAn extract of the semantic patch that makes this change is as follows:\n(http://www.emn.fr/x-info/coccinelle/)\n\n// \u003csmpl\u003e\n@haskernel@\n@@\n\n#include \u003clinux/kernel.h\u003e\n\n@depends on haskernel@\nexpression n,d;\n@@\n\n(\n- (n + d - 1) / d\n+ DIV_ROUND_UP(n,d)\n|\n- (n + (d - 1)) / d\n+ DIV_ROUND_UP(n,d)\n)\n\n@depends on haskernel@\nexpression n,d;\n@@\n\n- DIV_ROUND_UP((n),d)\n+ DIV_ROUND_UP(n,d)\n\n@depends on haskernel@\nexpression n,d;\n@@\n\n- DIV_ROUND_UP(n,(d))\n+ DIV_ROUND_UP(n,d)\n// \u003c/smpl\u003e\n\nSigned-off-by: Julia Lawall \u003cjulia@diku.dk\u003e\nAcked-by: Jeremy Fitzhardinge \u003cjeremy@goop.org\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": "3c3dd403f5ddd9f58bed9f632baad6b72409e0ee",
      "old_mode": 33188,
      "old_path": "drivers/net/xen-netfront.c",
      "new_id": "5c7a87e38951ede5ba1508b0aa0f583c8412e52d",
      "new_mode": 33188,
      "new_path": "drivers/net/xen-netfront.c"
    }
  ]
}
