)]}'
{
  "commit": "82081797b7d72108a47c82997349d1ea6a3eb3d5",
  "tree": "9066f303de9ad1f92d65800171eb61f05dab15d4",
  "parents": [
    "e01af0384f54023b4548b7742952da2ffcafd4cd"
  ],
  "author": {
    "name": "Linas Vepstas",
    "email": "linas@austin.ibm.com",
    "time": "Mon Jul 10 04:44:46 2006 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@g5.osdl.org",
    "time": "Mon Jul 10 13:24:21 2006 -0700"
  },
  "message": "[PATCH] pci: initialize struct pci_dev.error_state\n\nThe pci channel state is currently uninitialized, thus there are two ways\nof indicating that \"everything\u0027s OK\": 0 and 1.  This is a bit of a burden.\n\nIf a devce driver wants to check if the pci channel is in a working or a\ndisconnected state, the driver writer must perform checks similar to\n\n   if((pdev-\u003eerror_state !\u003d 0) \u0026\u0026\n      (pdev-\u003eerror_state !\u003d pci_channel_io_normal)) {\n         whatever();\n   }\n\nwhich is rather akward.  The first check is needed because stuct pci_dev is\ninited to all-zeros.  The scond is needed because the error recovery will\nset the state to pci_channel_io_normal (which is not zero).\n\nThis patch fixes this awkwardness.\n\nSigned-off-by: Linas Vepstas \u003clinas@austin.ibm.com\u003e\nCc: Greg KH \u003cgreg@kroah.com\u003e\nSigned-off-by: Andrew Morton \u003cakpm@osdl.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@osdl.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f89dbc3738b7d73f54142e12d598c5759fa368d7",
      "old_mode": 33188,
      "old_path": "drivers/pci/probe.c",
      "new_id": "c5a58d1c6c1c14f266d5d45d8f980e9531f37db0",
      "new_mode": 33188,
      "new_path": "drivers/pci/probe.c"
    }
  ]
}
