)]}'
{
  "commit": "25daeb550b69e89aff59bc6a84218a12b5203531",
  "tree": "6e3f7191269e7199482f492bc6a43676742f3a94",
  "parents": [
    "fc7f99cf36ebae853639dabb43bc2f0098c59aef"
  ],
  "author": {
    "name": "Dean Nelson",
    "email": "dnelson@redhat.com",
    "time": "Tue Mar 09 22:26:40 2010 -0500"
  },
  "committer": {
    "name": "Jesse Barnes",
    "email": "jbarnes@virtuousgeek.org",
    "time": "Fri Mar 19 12:36:51 2010 -0700"
  },
  "message": "PCI: fix return value from pcix_get_max_mmrbc()\n\nFor the PCI_X_STATUS register, pcix_get_max_mmrbc() is returning an incorrect\nvalue, which is based on:\n\n\t(stat \u0026 PCI_X_STATUS_MAX_READ) \u003e\u003e 12\n\nValid return values are 512, 1024, 2048, 4096, which correspond to a \u0027stat\u0027\n(masked and right shifted by 21) of 0, 1, 2, 3, respectively.\n\nA right shift by 11 would generate the correct return value when \u0027stat\u0027 (masked\nand right shifted by 21) has a value of 1 or 2. But for a value of 0 or 3 it\u0027s\nnot possible to generate the correct return value by only right shifting.\n\nFix is based on pcix_get_mmrbc()\u0027s similar dealings with the PCI_X_CMD register.\n\nCc: stable@kernel.org\nSigned-off-by: Dean Nelson \u003cdnelson@redhat.com\u003e\nSigned-off-by: Jesse Barnes \u003cjbarnes@virtuousgeek.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "cb1dd5f4988c72d533cabefa9b6b540761c294d6",
      "old_mode": 33188,
      "old_path": "drivers/pci/pci.c",
      "new_id": "ed9eb68fd940ec27e574085604d17abfc03c6741",
      "new_mode": 33188,
      "new_path": "drivers/pci/pci.c"
    }
  ]
}
