)]}'
{
  "commit": "1bc4953ed44454c7f53d0b609445d1534981ee75",
  "tree": "05f67206d6978261ad2569d3a0030f0299331191",
  "parents": [
    "4d125de3a5d130054df2285e542c1491d214d3e8"
  ],
  "author": {
    "name": "Anthony Liguori",
    "email": "aliguori@us.ibm.com",
    "time": "Wed Nov 07 15:49:24 2007 -0600"
  },
  "committer": {
    "name": "Rusty Russell",
    "email": "rusty@rustcorp.com.au",
    "time": "Mon Nov 12 13:59:09 2007 +1100"
  },
  "message": "virtio: Fix used_idx wrap-around\n\nThe more_used() function compares the vq-\u003evring.used-\u003eidx with last_used_idx.\nSince vq-\u003evring.used-\u003eidx is a 16-bit integer, and last_used_idx is an\nunsigned int, this results in unpredictable behavior when vq-\u003evring.used-\u003eidx\nwraps around.\n\nThis patch corrects this by changing last_used_idx to the correct type.\n\nSigned-off-by: Anthony Liguori \u003caliguori@us.ibm.com\u003e\nSigned-off-by: Rusty Russell \u003crusty@rustcorp.com.au\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0e4baca21b8f46e02f716a07aab4605e6663f20d",
      "old_mode": 33188,
      "old_path": "drivers/virtio/virtio_ring.c",
      "new_id": "0e1bf053d8cd623c9e8246b118deb8e3fba12a62",
      "new_mode": 33188,
      "new_path": "drivers/virtio/virtio_ring.c"
    }
  ]
}
