)]}'
{
  "commit": "d2e353f7c3c5fbb3add0341c10ae167ee745d23b",
  "tree": "cf84f27d7de17e941b8c1bd60b428389201aa712",
  "parents": [
    "1b7bf4edca0fdbad70c44e139f4cfebd6759de81"
  ],
  "author": {
    "name": "Wending Weng",
    "email": "wweng@rheinmetall.ca",
    "time": "Mon Aug 24 16:05:17 2009 -0400"
  },
  "committer": {
    "name": "Marcel Holtmann",
    "email": "marcel@holtmann.org",
    "time": "Mon Aug 24 13:32:32 2009 -0700"
  },
  "message": "Bluetooth: Fix false errors from bcsp_pkt_cull function\n\nThe error message \"Removed only %u out of %u pkts\" is printed when multiple\nto be acked packets are queued.\n\n    if (i++ \u003e\u003d pkts_to_be_removed)\n            break;\n\nThis will break out of the loop and increase the counter i when\ni\u003d\u003dpkts_to_be_removed and the loop ends up with i\u003dpkts_to_be_removed+1.\n\nThe following line\n\n    if (i !\u003d pkts_to_be_removed) {\n            BT_ERR(\"Removed only %u out of %u pkts\", i, pkts_to_be_removed);\n    }\n\nwill then display the false message.\n\nThe counter i must not increase on the same statement.\n\nSigned-off-by: Wending Weng \u003cwweng@rheinmetall.ca\u003e\nSigned-off-by: Marcel Holtmann \u003cmarcel@holtmann.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "894b2cb11ea6caf808ff55b6c3135d42e9ad33b5",
      "old_mode": 33188,
      "old_path": "drivers/bluetooth/hci_bcsp.c",
      "new_id": "40aec0fb85967d5354943545cb88ea9329444c86",
      "new_mode": 33188,
      "new_path": "drivers/bluetooth/hci_bcsp.c"
    }
  ]
}
