)]}'
{
  "commit": "48a7f7746875425797aea31ed2910088635c1c7a",
  "tree": "a73c35a8b24550ca9d120eab98b45d71bb06eafe",
  "parents": [
    "0a1f127a0594d62cb23c26732686d0e2b097b264"
  ],
  "author": {
    "name": "Johannes Weiner",
    "email": "jw@emlix.com",
    "time": "Tue Dec 01 13:17:48 2009 -0800"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Tue Dec 01 16:32:20 2009 -0800"
  },
  "message": "rtc-x1205: fix rtc_time to y2k register value conversion\n\nThe possible CCR_Y2K register values are 19 or 20 and struct rtc_time\u0027s\ntm_year is in years since 1900.\n\nThe function translating rtc_time to register values assumes tm_year to be\nyears since first christmas, though, and we end up storing 0 or 1 in the\nCCR_Y2K register, which the hardware does not refuse to do.\n\nA subsequent probing of the clock fails due to the invalid value range in\nthe register, though.\n\n[ And if it didn\u0027t, reading the clock would yield a bogus year because\n  the function translating registers to tm_year is assuming a register\n  value of 19 or 20. ]\n\nThis fixes the conversion from years since 1900 in tm_year to the\ncorresponding CCR_Y2K value of 19 or 20.\n\nSigned-off-by: Johannes Weiner \u003cjw@emlix.com\u003e\nCc: Alessandro Zummo \u003ca.zummo@towertech.it\u003e\nCc: Paul Gortmaker \u003cp_gortmaker@yahoo.com\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": "310c10795e9a81cf0c37960a1d40fb46a743369a",
      "old_mode": 33188,
      "old_path": "drivers/rtc/rtc-x1205.c",
      "new_id": "cc9ba47b215426871a9f352f46cd7340893bb38e",
      "new_mode": 33188,
      "new_path": "drivers/rtc/rtc-x1205.c"
    }
  ]
}
