)]}'
{
  "commit": "de3cac9357b5aa9f9f02520e5f2567b06f3f75a7",
  "tree": "4775c9b137c10bdd9b9ed51651e8ff281987f727",
  "parents": [
    "bcb1d238716d138c9e16347fc32b3c1ae006339e"
  ],
  "author": {
    "name": "Artem Bityutskiy",
    "email": "artem.bityutskiy@linux.intel.com",
    "time": "Wed Feb 08 16:37:14 2012 +0200"
  },
  "committer": {
    "name": "David Woodhouse",
    "email": "David.Woodhouse@intel.com",
    "time": "Tue Mar 27 00:32:29 2012 +0100"
  },
  "message": "mtd: check for zero length in OTP functions\n\nThis patch changes all the OTP functions like \u0027mtd_get_fact_prot_info()\u0027 and\nmakes them return zero immediately if the input \u0027len\u0027 parameter is 0. This is\nnot really needed currently, but most of the other functions do this, and it is\njust consistent to do the same in the OTP functions.\n\nThis patch also moves the OTP functions from the header file to mtdcore.c\nbecause they become a bit too big for being inlined.\n\nSigned-off-by: Artem Bityutskiy \u003cartem.bityutskiy@linux.intel.com\u003e\nSigned-off-by: David Woodhouse \u003cDavid.Woodhouse@intel.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6acc4fb254e27e9505dd93b8fc84c8c6daa055d6",
      "old_mode": 33188,
      "old_path": "drivers/mtd/mtdcore.c",
      "new_id": "b274fdf5f358c2d5c01d9a215db799da2a4decd5",
      "new_mode": 33188,
      "new_path": "drivers/mtd/mtdcore.c"
    },
    {
      "type": "modify",
      "old_id": "fa20a8f0463ad2cc6f595b117cc42a5377154e73",
      "old_mode": 33188,
      "old_path": "include/linux/mtd/mtd.h",
      "new_id": "726c2d1b258947a077607154796271384b02dbb7",
      "new_mode": 33188,
      "new_path": "include/linux/mtd/mtd.h"
    }
  ]
}
