)]}'
{
  "commit": "f8bbeabc34aa945ab4275abc9a4dfde0aea798ca",
  "tree": "b3d488f7923409a5d769f7b268f6dd02a220e1ca",
  "parents": [
    "cf7d7e5a1980d1116ee152d25dac382b112b9c17"
  ],
  "author": {
    "name": "Sarah Sharp",
    "email": "sarah.a.sharp@linux.intel.com",
    "time": "Thu Dec 09 10:29:00 2010 -0800"
  },
  "committer": {
    "name": "Sarah Sharp",
    "email": "sarah.a.sharp@linux.intel.com",
    "time": "Thu Dec 09 11:59:42 2010 -0800"
  },
  "message": "xhci: Fix issue with port array setup and buggy hosts.\n\nFix two bugs with the port array setup.\n\nThe first bug will only show up with broken xHCI hosts with Extended\nCapabilities registers that have duplicate port speed entries for the same\nport.  The idea with the original code was to set the port_array entry to\n-1 if the duplicate port speed entry said the port was a different speed\nthan the original port speed entry.  That would mean that later, the port\nwould not be exposed to the USB core. Unfortunately, I forgot a continue\nstatement, and the port_array entry would just be overwritten in the next\nline.\n\nThe second bug would happen if there are conflicting port speed registers\n(so that some entry in port_array is -1), or one of the hardware port\nregisters was not described in the port speed registers (so that some\nentry in port_array is 0).  The code that sets up the usb2_ports array\nwould accidentally claim those ports.  That wouldn\u0027t really cause any\nuser-visible issues, but it is a bug.\n\nThis patch should go into the stable trees that have the port array and\nUSB 3.0 port disabling prevention patches.\n\nSigned-off-by: Sarah Sharp \u003csarah.a.sharp@linux.intel.com\u003e\nCc: stable@kernel.org\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0fae58ef8afe7c43b145074fd8cbb1fe7b30e248",
      "old_mode": 33188,
      "old_path": "drivers/usb/host/xhci-mem.c",
      "new_id": "1d0f45f0e7a62fd191d4c856d0de87715456bfbf",
      "new_mode": 33188,
      "new_path": "drivers/usb/host/xhci-mem.c"
    }
  ]
}
