)]}'
{
  "commit": "10aa5a35e34fb00a2dd814447199f08756eb307b",
  "tree": "0b6a7573eeee87d34dc66020c76d31c4565d536c",
  "parents": [
    "2805b9ab7c836cfbe01e86129983e36205078cb2"
  ],
  "author": {
    "name": "Russell King",
    "email": "rmk+kernel@arm.linux.org.uk",
    "time": "Mon Jun 18 11:27:04 2012 +0100"
  },
  "committer": {
    "name": "Russell King",
    "email": "rmk+kernel@arm.linux.org.uk",
    "time": "Mon Jun 18 11:27:04 2012 +0100"
  },
  "message": "SPI: fix over-eager devm_xxx() conversion\n\n1a77b127ae (OMAP : SPI : use devm_* functions) converted the SPI\ndevice controller state to use devm_kzalloc().  Unfortunately, this\nis used against an unbound struct device, which results in the\nfollowing when the device is bound to its driver:\n\n------------[ cut here ]------------\nWARNING: at /home/rmk/git/linux-rmk/drivers/base/dd.c:257 driver_probe_device+0x78/0x21c()\nModules linked in:\nBacktrace:\n[\u003cc0017d0c\u003e] (dump_backtrace+0x0/0x10c) from [\u003cc033e208\u003e] (dump_stack+0x18/0x1c) r7:00000000 r6:c01ff28c r5:c040050c r4:00000101\n[\u003cc033e1f0\u003e] (dump_stack+0x0/0x1c) from [\u003cc00337ec\u003e] (warn_slowpath_common+0x58/0x70)\n[\u003cc0033794\u003e] (warn_slowpath_common+0x0/0x70) from [\u003cc0033828\u003e] (warn_slowpath_null+0x24/0x2c)\n[\u003cc0033804\u003e] (warn_slowpath_null+0x0/0x2c) from [\u003cc01ff28c\u003e] (driver_probe_device+0x78/0x21c)\n[\u003cc01ff214\u003e] (driver_probe_device+0x0/0x21c) from [\u003cc01ff49c\u003e] (__driver_attach+0x6c/0x90)\n[\u003cc01ff430\u003e] (__driver_attach+0x0/0x90) from [\u003cc01fda70\u003e] (bus_for_each_dev+0x58/0x98)\n[\u003cc01fda18\u003e] (bus_for_each_dev+0x0/0x98) from [\u003cc01ff0f4\u003e] (driver_attach+0x20/0x28)\n[\u003cc01ff0d4\u003e] (driver_attach+0x0/0x28) from [\u003cc01fe2f4\u003e] (bus_add_driver+0xb4/0x230)\n[\u003cc01fe240\u003e] (bus_add_driver+0x0/0x230) from [\u003cc01ffb24\u003e] (driver_register+0xac/0x138)\n[\u003cc01ffa78\u003e] (driver_register+0x0/0x138) from [\u003cc0215d4c\u003e] (spi_register_driver+0x4c/0x60)\n[\u003cc0215d00\u003e] (spi_register_driver+0x0/0x60) from [\u003cc045414c\u003e] (ks8851_init+0x14/0x1c)\n[\u003cc0454138\u003e] (ks8851_init+0x0/0x1c) from [\u003cc0008770\u003e] (do_one_initcall+0x9c/0x164)\n[\u003cc00086d4\u003e] (do_one_initcall+0x0/0x164) from [\u003cc0436410\u003e] (kernel_init+0x128/0x210)\n[\u003cc04362e8\u003e] (kernel_init+0x0/0x210) from [\u003cc0038754\u003e] (do_exit+0x0/0x72c)\n---[ end trace 4dcda79f5e89dd84 ]---\nks8851 spi1.0: message enable is 0\nks8851 spi1.0: eth0: revision 0, MAC 08:00:28:01:4d:c6, IRQ 194, has EEPROM\n\nFix this by partially reverting the original commit.\n\nSigned-off-by: Russell King \u003crmk+kernel@arm.linux.org.uk\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "46ef5fe51db5476b797bffe719fed5bbfccca395",
      "old_mode": 33188,
      "old_path": "drivers/spi/spi-omap2-mcspi.c",
      "new_id": "0c73dd4f43a0d0a7e727e1f92a0929095becd392",
      "new_mode": 33188,
      "new_path": "drivers/spi/spi-omap2-mcspi.c"
    }
  ]
}
