)]}'
{
  "commit": "6ba8bcd457d9fc793ac9435aa2e4138f571d4ec5",
  "tree": "d562dedc503e3f67d80517494b53afa651418bb8",
  "parents": [
    "72cc8e51cfdde9007adab7d841ac4113b05b2c56"
  ],
  "author": {
    "name": "Dan Carpenter",
    "email": "error27@gmail.com",
    "time": "Mon May 24 14:33:49 2010 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Tue May 25 08:07:08 2010 -0700"
  },
  "message": "rtc-cmos: do dev_set_drvdata() earlier in the initialization\n\nThe bug is an oops when dev_get_drvdata() returned null in\ncmos_update_irq_enable().  The call tree looks like this:\n  rtc_dev_ioctl()\n    \u003d\u003e rtc_update_irq_enable()\n      \u003d\u003e cmos_update_irq_enable()\n\nIt\u0027s caused by a race condition in the module initialization.  It is\nrtc_device_register() which makes the ioctl operations live so I moved\nthe call to dev_set_drvdata() before the call to rtc_device_register().\n\nAddresses https://bugzilla.kernel.org/show_bug.cgi?id\u003d15963\n\nReported-by: Randy Dunlap \u003crandy.dunlap@oracle.com\u003e\nSigned-off-by: Dan Carpenter \u003cerror27@gmail.com\u003e\nTested-by: Randy Dunlap \u003crandy.dunlap@oracle.com\u003e\nCc: Alessandro Zummo \u003ca.zummo@towertech.it\u003e\nCc: Paul Gortmaker \u003cp_gortmaker@yahoo.com\u003e\nCc: Malte Schroder \u003cmaltesch@gmx.de\u003e\nCc: Ralf Baechle \u003cralf@linux-mips.org\u003e\nCc: Herton Ronaldo Krzesinski \u003cherton@mandriva.com.br\u003e\nCc: \u003cstable@kernel.org\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "96e8e70fbf1e1be9136a448cedd23ad1ec2f834d",
      "old_mode": 33188,
      "old_path": "drivers/rtc/rtc-cmos.c",
      "new_id": "11b8ea29d2b76ecf0e60e482195629d4d04d17f6",
      "new_mode": 33188,
      "new_path": "drivers/rtc/rtc-cmos.c"
    }
  ]
}
