)]}'
{
  "commit": "f48f3febb2cbfd0f2ecee7690835ba745c1034a4",
  "tree": "1cb3803049cde40ff3dc528a2120f915e65f0367",
  "parents": [
    "e5779a583ddb9916b37cfbb916dc53ec2eaf0b9b"
  ],
  "author": {
    "name": "Dave Young",
    "email": "hidave.darkstar@gmail.com",
    "time": "Sat Feb 14 21:23:22 2009 +0800"
  },
  "committer": {
    "name": "Greg Kroah-Hartman",
    "email": "gregkh@suse.de",
    "time": "Tue Mar 24 16:38:25 2009 -0700"
  },
  "message": "driver-core: do not register a driver with bus_type not registered\n\nIf the bus_type is not registerd, driver_register to that bus will cause oops.\n\nI found this bug when test built-in usb serial drivers (ie. aircable driver)\nwith \u0027nousb\u0027 cmdline params.\n\nIn this patch:\n1. set the bus-\u003ep\u003dNULL when bus_register failed and unregisterd.\n2. if bus-\u003ep is NULL, driver_register BUG_ON will be triggered.\n\nSigned-off-by: Dave Young \u003chidave.darkstar@gmail.com\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@suse.de\u003e\n\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8547b780bb5acdff27cc5730074d2860ca6befd6",
      "old_mode": 33188,
      "old_path": "drivers/base/bus.c",
      "new_id": "11463c00451e4806931731670cc52f175aa4d6ba",
      "new_mode": 33188,
      "new_path": "drivers/base/bus.c"
    },
    {
      "type": "modify",
      "old_id": "1e2bda780e48268eb38b834f7078644689b5dc7b",
      "old_mode": 33188,
      "old_path": "drivers/base/driver.c",
      "new_id": "2889ad57e48b6cec4c9d77fdbe18ee0ac1f4dc63",
      "new_mode": 33188,
      "new_path": "drivers/base/driver.c"
    }
  ]
}
