)]}'
{
  "log": [
    {
      "commit": "8f461a730242c528ca221948edceca49266a3ffb",
      "tree": "232b1d9ac6a74df87a84c9e1e6a61415afc9f583",
      "parents": [
        "079c985e7a6f4ce60f931cebfdd5ee3c38347e31"
      ],
      "author": {
        "name": "Artem Bityutskiy",
        "email": "artem.bityutskiy@linux.intel.com",
        "time": "Mon Jan 02 13:48:54 2012 +0200"
      },
      "committer": {
        "name": "David Woodhouse",
        "email": "David.Woodhouse@intel.com",
        "time": "Mon Jan 09 18:26:24 2012 +0000"
      },
      "message": "mtd: introduce mtd_can_have_bb helper\n\nThis patch introduces new \u0027mtd_can_have_bb()\u0027 helper function which checks\nwhether the flash can have bad eraseblocks. Then it changes all the\ndirect \u0027mtd-\u003eblock_isbad\u0027 use cases with \u0027mtd_can_have_bb()\u0027.\n\nSigned-off-by: Artem Bityutskiy \u003cartem.bityutskiy@linux.intel.com\u003e\nSigned-off-by: David Woodhouse \u003cDavid.Woodhouse@intel.com\u003e\n"
    },
    {
      "commit": "30fa98480b782999248ce8290136aa58f22536cf",
      "tree": "39136ed3fae074abc0178c0b78a2e242700b4cc0",
      "parents": [
        "9cf075f8656524abc44ad3ff2ec3834fe76f186f"
      ],
      "author": {
        "name": "Artem Bityutskiy",
        "email": "artem.bityutskiy@linux.intel.com",
        "time": "Thu Dec 29 15:16:28 2011 +0200"
      },
      "committer": {
        "name": "David Woodhouse",
        "email": "David.Woodhouse@intel.com",
        "time": "Mon Jan 09 18:25:56 2012 +0000"
      },
      "message": "mtd: remove extra retlen assignment\n\nMTD functions always assign the \u0027retlen\u0027 argument to 0 at the very\nbeginning - the callers do not have to do this.\n\nI used the following semantic patch to find these places:\n\n@@\nidentifier retlen;\nexpression a, b, c, d, e;\nconstant C;\ntype T;\n@@\n(\n- retlen \u003d C;\n|\nT\n-retlen \u003d C\n+ retlen\n;\n)\n\n... when !\u003d retlen\n    when exists\n\n(\nmtd_read(a, b, c, \u0026retlen, d)\n|\nmtd_write(a, b, c, \u0026retlen, d)\n|\nmtd_panic_write(a, b, c, \u0026retlen, d)\n|\nmtd_point(a, b, c, \u0026retlen, d, e)\n|\nmtd_read_fact_prot_reg(a, b, c, \u0026retlen, d)\n|\nmtd_write_user_prot_reg(a, b, c, \u0026retlen, d)\n|\nmtd_read_user_prot_reg(a, b, c, \u0026retlen, d)\n|\nmtd_writev(a, b, c, d, \u0026retlen)\n)\n\nI ran it twice, because there were cases of double zero assigments\nin mtd tests. Then I went through the patch to verify that spatch\ndid not find any false positives.\n\nSigned-off-by: Artem Bityutskiy \u003cartem.bityutskiy@linux.intel.com\u003e\nSigned-off-by: David Woodhouse \u003cDavid.Woodhouse@intel.com\u003e\n"
    },
    {
      "commit": "7086c19d07429d697057587caf1e5e0345442d16",
      "tree": "3a892182dba0847de32ef79b1fe1d46d8b1b5de8",
      "parents": [
        "ead995f8d4da1e2f1ef40b0e5f4133fee38a3d3d"
      ],
      "author": {
        "name": "Artem Bityutskiy",
        "email": "artem.bityutskiy@linux.intel.com",
        "time": "Fri Dec 23 19:35:30 2011 +0200"
      },
      "committer": {
        "name": "David Woodhouse",
        "email": "David.Woodhouse@intel.com",
        "time": "Mon Jan 09 18:25:47 2012 +0000"
      },
      "message": "mtd: introduce mtd_block_isbad interface\n\nSigned-off-by: Artem Bityutskiy \u003cartem.bityutskiy@linux.intel.com\u003e\nSigned-off-by: David Woodhouse \u003cDavid.Woodhouse@intel.com\u003e\n"
    },
    {
      "commit": "a2cc5ba075f9bc837d0b4d4ec7328dcefc11859d",
      "tree": "a5f2c88ddd21028247bfaf02ca336dd501ed3a5f",
      "parents": [
        "fd2819bbc92fc98bed5d612e4acbe16b6326f6bf"
      ],
      "author": {
        "name": "Artem Bityutskiy",
        "email": "artem.bityutskiy@linux.intel.com",
        "time": "Fri Dec 23 18:29:55 2011 +0200"
      },
      "committer": {
        "name": "David Woodhouse",
        "email": "David.Woodhouse@intel.com",
        "time": "Mon Jan 09 18:25:24 2012 +0000"
      },
      "message": "mtd: introduce mtd_write_oob interface\n\nSigned-off-by: Artem Bityutskiy \u003cartem.bityutskiy@linux.intel.com\u003e\nSigned-off-by: David Woodhouse \u003cDavid.Woodhouse@intel.com\u003e\n"
    },
    {
      "commit": "fd2819bbc92fc98bed5d612e4acbe16b6326f6bf",
      "tree": "114f2a130cb854c74707eb805854fe048f65ac14",
      "parents": [
        "7ae79d7ff1769a3e9c47076b46e4eaa11204a2ee"
      ],
      "author": {
        "name": "Artem Bityutskiy",
        "email": "artem.bityutskiy@linux.intel.com",
        "time": "Fri Dec 23 18:27:05 2011 +0200"
      },
      "committer": {
        "name": "David Woodhouse",
        "email": "David.Woodhouse@intel.com",
        "time": "Mon Jan 09 18:25:23 2012 +0000"
      },
      "message": "mtd: introduce mtd_read_oob interface\n\nSigned-off-by: Artem Bityutskiy \u003cartem.bityutskiy@linux.intel.com\u003e\nSigned-off-by: David Woodhouse \u003cDavid.Woodhouse@intel.com\u003e\n"
    },
    {
      "commit": "eda95cbf75193808f62948fb0142ba0901d8bee2",
      "tree": "047bcfa05bc118b1d34327b3e62fa1d10d4bcb43",
      "parents": [
        "329ad399a9b3adf52c90637b21ca029fcf7f8795"
      ],
      "author": {
        "name": "Artem Bityutskiy",
        "email": "artem.bityutskiy@linux.intel.com",
        "time": "Fri Dec 23 17:35:41 2011 +0200"
      },
      "committer": {
        "name": "David Woodhouse",
        "email": "David.Woodhouse@intel.com",
        "time": "Mon Jan 09 18:25:20 2012 +0000"
      },
      "message": "mtd: introduce mtd_write interface\n\nSigned-off-by: Artem Bityutskiy \u003cartem.bityutskiy@linux.intel.com\u003e\nSigned-off-by: David Woodhouse \u003cDavid.Woodhouse@intel.com\u003e\n"
    },
    {
      "commit": "329ad399a9b3adf52c90637b21ca029fcf7f8795",
      "tree": "7aa7bb2609c25de7859c3a666f3ea90934609592",
      "parents": [
        "04c601bfa4cb29c968dcb66e44c799c9c01d8675"
      ],
      "author": {
        "name": "Artem Bityutskiy",
        "email": "artem.bityutskiy@linux.intel.com",
        "time": "Fri Dec 23 17:30:16 2011 +0200"
      },
      "committer": {
        "name": "David Woodhouse",
        "email": "David.Woodhouse@intel.com",
        "time": "Mon Jan 09 18:25:19 2012 +0000"
      },
      "message": "mtd: introduce mtd_read interface\n\nSigned-off-by: Artem Bityutskiy \u003cartem.bityutskiy@linux.intel.com\u003e\nSigned-off-by: David Woodhouse \u003cDavid.Woodhouse@intel.com\u003e\n"
    },
    {
      "commit": "7e1f0dc0551b99acb5e8fa161a7ac401994d57d8",
      "tree": "19108039bb082d42fbda40d4bd3ddb11a1185cd1",
      "parents": [
        "969e57adc2589a0a0ae5edbbe7b92062565ce70b"
      ],
      "author": {
        "name": "Artem Bityutskiy",
        "email": "artem.bityutskiy@linux.intel.com",
        "time": "Fri Dec 23 15:25:39 2011 +0200"
      },
      "committer": {
        "name": "David Woodhouse",
        "email": "David.Woodhouse@intel.com",
        "time": "Mon Jan 09 18:25:11 2012 +0000"
      },
      "message": "mtd: introduce mtd_erase interface\n\nThis patch is part of a patch-set which changes the MTD interface\nfrom \u0027mtd-\u003efunc()\u0027 form to \u0027mtd_func()\u0027 form. We need this because\nwe want to add common code to to all drivers in the mtd core level,\nwhich is impossible with the current interface when MTD clients\ncall driver functions like \u0027read()\u0027 or \u0027write()\u0027 directly.\n\nAt this point we just introduce a new inline wrapper function, but\nlater some of them are expected to gain more code. E.g., the input\nparameters check should be moved to the wrappers rather than be\nduplicated at many drivers.\n\nThis particular patch introduced the \u0027mtd_erase()\u0027 interface. The\nfollowing patches add all the other interfaces one by one.\n\nSigned-off-by: Artem Bityutskiy \u003cartem.bityutskiy@linux.intel.com\u003e\nSigned-off-by: David Woodhouse \u003cDavid.Woodhouse@intel.com\u003e\n"
    },
    {
      "commit": "2f4478ccff7df845dc9c0f8996a96373122c4417",
      "tree": "5100e886a3feff1c8c826f386be5821b26712baf",
      "parents": [
        "f99640dee209df4730f35a28b02693affd571ad5"
      ],
      "author": {
        "name": "Wolfram Sang",
        "email": "w.sang@pengutronix.de",
        "time": "Tue Nov 29 15:34:08 2011 +0100"
      },
      "committer": {
        "name": "David Woodhouse",
        "email": "David.Woodhouse@intel.com",
        "time": "Mon Jan 09 18:12:42 2012 +0000"
      },
      "message": "mtd: tests: stresstest: bail out if device has not enough eraseblocks\n\nstresstest needs at least two eraseblocks. Bail out gracefully if that\ncondition is not met. Fixes the following \u0027division by zero\u0027 OOPS:\n\n[  619.100000] mtd_stresstest: MTD device size 131072, eraseblock size 131072, page size 2048, count of eraseblocks 1, pages per eraseblock 64, OOB size 64\n[  619.120000] mtd_stresstest: scanning for bad eraseblocks\n[  619.120000] mtd_stresstest: scanned 1 eraseblocks, 0 are bad\n[  619.130000] mtd_stresstest: doing operations\n[  619.130000] mtd_stresstest: 0 operations done\n[  619.140000] Division by zero in kernel.\n...\n\ncaused by\n\n        /* Read or write up 2 eraseblocks at a time - hence \u0027ebcnt - 1\u0027 */\n        eb %\u003d (ebcnt - 1);\n\nCc: stable@kernel.org\nSigned-off-by: Wolfram Sang \u003cw.sang@pengutronix.de\u003e\nSigned-off-by: Artem Bityutskiy \u003cartem.bityutskiy@linux.intel.com\u003e\nSigned-off-by: David Woodhouse \u003cDavid.Woodhouse@intel.com\u003e\n"
    },
    {
      "commit": "7406060e292c389fe6f38bd23493de9b57f2f4fc",
      "tree": "1b88dfc908c3be01a86d74685a4329c69d2f9348",
      "parents": [
        "6be55f79a216ccb9f364476b12e5b151a5f6bdb6"
      ],
      "author": {
        "name": "Wolfram Sang",
        "email": "w.sang@pengutronix.de",
        "time": "Sun Oct 30 00:11:53 2011 +0200"
      },
      "committer": {
        "name": "Artem Bityutskiy",
        "email": "Artem.Bityutskiy@intel.com",
        "time": "Sun Oct 30 14:31:04 2011 +0200"
      },
      "message": "mtd: tests: don\u0027t use mtd0 as a default\n\nmtd tests may erase the mtd device, so force the user to specify which\nmtd device to test by using the module parameter. Disable the default\n(using mtd0) since this may destroy a vital part of the flash if the\nmodule is inserted accidently or carelessly.\n\nReported-by: Roland Kletzing \u003cdevzero@web.de\u003e\nSigned-off-by: Wolfram Sang \u003cw.sang@pengutronix.de\u003e\nSigned-off-by: Artem Bityutskiy \u003cArtem.Bityutskiy@intel.com\u003e\n"
    },
    {
      "commit": "d57f40544a41fdfe90fd863b6865138c5a82f1cc",
      "tree": "4d5e8f6d0a62e8fa06ccfabd13fe9364b19db1b5",
      "parents": [
        "7387ce773256f446bdd0280b2449b635441f906e"
      ],
      "author": {
        "name": "Brian Norris",
        "email": "computersforpeace@gmail.com",
        "time": "Tue Sep 20 18:34:25 2011 -0700"
      },
      "committer": {
        "name": "Artem Bityutskiy",
        "email": "artem.bityutskiy@intel.com",
        "time": "Wed Sep 21 09:19:06 2011 +0300"
      },
      "message": "mtd: utilize `mtd_is_*()\u0027 functions\n\nSigned-off-by: Brian Norris \u003ccomputersforpeace@gmail.com\u003e\nSigned-off-by: Artem Bityutskiy \u003cartem.bityutskiy@intel.com\u003e\n"
    },
    {
      "commit": "0612b9ddc2eeda014dd805c87c752b342d8f80f0",
      "tree": "7691ee548ab6da1e7df946a75abd96a814208d8e",
      "parents": [
        "905c6bcdb42616da717a9bd6c0c5870dbd90b09e"
      ],
      "author": {
        "name": "Brian Norris",
        "email": "computersforpeace@gmail.com",
        "time": "Tue Aug 30 18:45:40 2011 -0700"
      },
      "committer": {
        "name": "Artem Bityutskiy",
        "email": "artem.bityutskiy@intel.com",
        "time": "Sun Sep 11 15:28:59 2011 +0300"
      },
      "message": "mtd: rename MTD_OOB_* to MTD_OPS_*\n\nThese modes are not necessarily for OOB only. Particularly, MTD_OOB_RAW\naffected operations on in-band page data as well. To clarify these\noptions and to emphasize that their effect is applied per-operation, we\nchange the primary prefix to MTD_OPS_.\n\nSigned-off-by: Brian Norris \u003ccomputersforpeace@gmail.com\u003e\nSigned-off-by: Artem Bityutskiy \u003cartem.bityutskiy@intel.com\u003e\n"
    },
    {
      "commit": "003bc47922047e21ebfb19cb99317273b313f79d",
      "tree": "c946143910669bfef21b992ae3f8a2d82fa975eb",
      "parents": [
        "903cd06cd6ece7f9050a3ad5b03e0b76be2882ff"
      ],
      "author": {
        "name": "Brian Norris",
        "email": "computersforpeace@gmail.com",
        "time": "Tue Jun 28 16:28:59 2011 -0700"
      },
      "committer": {
        "name": "Artem Bityutskiy",
        "email": "artem.bityutskiy@intel.com",
        "time": "Sun Sep 11 15:02:14 2011 +0300"
      },
      "message": "mtd: tests: ignore corrected bitflips in OOB on mtd_readtest\n\nread_oob may now return ECC error codes. If the code is -EUCLEAN, then\nwe can safely ignore the error as a corrected bitflip.\n\nSigned-off-by: Brian Norris \u003ccomputersforpeace@gmail.com\u003e\nSigned-off-by: Artem Bityutskiy \u003cdedekind1@gmail.com\u003e\n"
    },
    {
      "commit": "e70727e442eb61581f836a9a0ca0c3b70d8a3ff2",
      "tree": "52691fbc86e772642978cc09a32eaaf807ef1016",
      "parents": [
        "5d9d9936209e589569a97985285b3282310cf2db"
      ],
      "author": {
        "name": "David Lambert",
        "email": "dave@lambsys.com",
        "time": "Mon Mar 07 12:00:46 2011 +0200"
      },
      "committer": {
        "name": "David Woodhouse",
        "email": "David.Woodhouse@intel.com",
        "time": "Fri Mar 11 14:22:49 2011 +0000"
      },
      "message": "mtd: speedtest: fix integer overflow\n\n32-bit integers used in \u0027calc_speed()\u0027 may overflow and lead to\nincorrect results. Use 64-bit integers instead.\n\nSigned-off-by: David Lambert \u003cdave@lambsys.com\u003e\nSigned-off-by: Artem Bityutskiy \u003cArtem.Bityutskiy@nokia.com\u003e\nSigned-off-by: David Woodhouse \u003cDavid.Woodhouse@intel.com\u003e\n"
    },
    {
      "commit": "4085bcc682e1276ab4ac2da9866daadf944d7167",
      "tree": "65a3554fa2325860f246ad6460e20b8e49d7a95a",
      "parents": [
        "fc7fe7691c6bbd5f8f51a87e759770975c648410"
      ],
      "author": {
        "name": "Roman Tereshonkov",
        "email": "roman.tereshonkov@nokia.com",
        "time": "Tue Feb 08 12:02:40 2011 +0200"
      },
      "committer": {
        "name": "David Woodhouse",
        "email": "David.Woodhouse@intel.com",
        "time": "Fri Mar 11 14:22:45 2011 +0000"
      },
      "message": "mtd: tests: add multiblock erase test to the mtd_speedtest\n\nNew multiblock erase speed test is added to mtd_speedtest.\nIt consists of 2-, 4-, 8-, 16-, 32- and 64-blocks at once\nmultiblock erase tests.\n\nSigned-off-by: Roman Tereshonkov \u003croman.tereshonkov@nokia.com\u003e\nSigned-off-by: Artem Bityutskiy \u003cArtem.Bityutskiy@nokia.com\u003e\nSigned-off-by: David Woodhouse \u003cDavid.Woodhouse@intel.com\u003e\n"
    },
    {
      "commit": "fc7fe7691c6bbd5f8f51a87e759770975c648410",
      "tree": "131c8868bc2f17e3a91e3d077bf04b22a9ac8b3d",
      "parents": [
        "e6da85685b2dec1e69e58366c22d1f883d6da575"
      ],
      "author": {
        "name": "Adrian Hunter",
        "email": "adrian.hunter@nokia.com",
        "time": "Tue Feb 08 12:02:39 2011 +0200"
      },
      "committer": {
        "name": "David Woodhouse",
        "email": "David.Woodhouse@intel.com",
        "time": "Fri Mar 11 14:22:45 2011 +0000"
      },
      "message": "mtd: tests: add count parameter to mtd_speedtest\n\nBy default mtd_speedtest uses all the eraseblocks of the\nMTD partition being tested.  For large partitions a\nsmaller number is sufficient and makes running the test\nquicker.  For that reason, add a parameter \u0027count\u0027 to\nspecify the maximum number of eraseblocks to use for\ntesting.\n\nSigned-off-by: Adrian Hunter \u003cadrian.hunter@nokia.com\u003e\nSigned-off-by: Artem Bityutskiy \u003cArtem.Bityutskiy@nokia.com\u003e\nSigned-off-by: David Woodhouse \u003cDavid.Woodhouse@intel.com\u003e\n"
    },
    {
      "commit": "7b7e905ec2ec511e06279181ca95a892db21e292",
      "tree": "235fac2b1b206f5644de4fabae7148951c694ba7",
      "parents": [
        "3ee7451a023dd197fcfc1ba46dcce6d8ec5e1b78"
      ],
      "author": {
        "name": "Roman Tereshonkov",
        "email": "roman.tereshonkov@nokia.com",
        "time": "Thu Feb 03 13:45:56 2011 +0200"
      },
      "committer": {
        "name": "David Woodhouse",
        "email": "David.Woodhouse@intel.com",
        "time": "Fri Mar 11 14:22:44 2011 +0000"
      },
      "message": "mtd: tests: print correct values\n\nThe ebcnt and pgcnt variable initialization is moved before printk\nwhich uses them.\n\nSigned-off-by: Roman Tereshonkov \u003croman.tereshonkov@nokia.com\u003e\nSigned-off-by: Artem Bityutskiy \u003cArtem.Bityutskiy@nokia.com\u003e\nSigned-off-by: David Woodhouse \u003cDavid.Woodhouse@intel.com\u003e\n"
    },
    {
      "commit": "7fc14bcee0fc0fe1b7e1bd78d4fc0da395ebef35",
      "tree": "f73d13b6c3f68423d04d1e0373c8d318c5cd38a0",
      "parents": [
        "ece0ac98a13a555e6d46a02225fa15934abe7a3d"
      ],
      "author": {
        "name": "Roel Kluin",
        "email": "roel.kluin@gmail.com",
        "time": "Tue Jul 13 13:24:31 2010 +0300"
      },
      "committer": {
        "name": "David Woodhouse",
        "email": "David.Woodhouse@intel.com",
        "time": "Mon Aug 02 09:06:20 2010 +0100"
      },
      "message": "mtd: tests: return -1 if verify failed\n\nSigned-off-by: Roel Kluin \u003croel.kluin@gmail.com\u003e\nSigned-off-by: Artem Bityutskiy \u003cArtem.Bityutskiy@nokia.com\u003e\nSigned-off-by: David Woodhouse \u003cDavid.Woodhouse@intel.com\u003e\n"
    },
    {
      "commit": "2bfefa4c9632fb09bfe3277cf7b690818b147654",
      "tree": "9ddbd55e57e266dfea47e38fa007f47731fed8fb",
      "parents": [
        "ecce2a6f9bdc7635838baeff8a09a76c9a70e7e0"
      ],
      "author": {
        "name": "Julia Lawall",
        "email": "julia@diku.dk",
        "time": "Thu May 13 22:03:15 2010 +0200"
      },
      "committer": {
        "name": "David Woodhouse",
        "email": "David.Woodhouse@intel.com",
        "time": "Thu May 13 21:23:06 2010 +0100"
      },
      "message": "drivers/mtd: Use kzalloc\n\nUse kzalloc rather than the combination of kmalloc and memset.\n\nThe semantic patch that makes this change is as follows:\n(http://coccinelle.lip6.fr/)\n\n// \u003csmpl\u003e\n@@\nexpression x,size,flags;\nstatement S;\n@@\n\n-x \u003d kmalloc(size,flags);\n+x \u003d kzalloc(size,flags);\n if (x \u003d\u003d NULL) S\n-memset(x, 0, size);\n// \u003c/smpl\u003e\n\nSigned-off-by: Julia Lawall \u003cjulia@diku.dk\u003e\nSigned-off-by: David Woodhouse \u003cDavid.Woodhouse@intel.com\u003e\n"
    },
    {
      "commit": "5a0e3ad6af8660be21ca98a971cd00f331318c05",
      "tree": "5bfb7be11a03176a87296a43ac6647975c00a1d1",
      "parents": [
        "ed391f4ebf8f701d3566423ce8f17e614cde9806"
      ],
      "author": {
        "name": "Tejun Heo",
        "email": "tj@kernel.org",
        "time": "Wed Mar 24 17:04:11 2010 +0900"
      },
      "committer": {
        "name": "Tejun Heo",
        "email": "tj@kernel.org",
        "time": "Tue Mar 30 22:02:32 2010 +0900"
      },
      "message": "include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h\n\npercpu.h is included by sched.h and module.h and thus ends up being\nincluded when building most .c files.  percpu.h includes slab.h which\nin turn includes gfp.h making everything defined by the two files\nuniversally available and complicating inclusion dependencies.\n\npercpu.h -\u003e slab.h dependency is about to be removed.  Prepare for\nthis change by updating users of gfp and slab facilities include those\nheaders directly instead of assuming availability.  As this conversion\nneeds to touch large number of source files, the following script is\nused as the basis of conversion.\n\n  http://userweb.kernel.org/~tj/misc/slabh-sweep.py\n\nThe script does the followings.\n\n* Scan files for gfp and slab usages and update includes such that\n  only the necessary includes are there.  ie. if only gfp is used,\n  gfp.h, if slab is used, slab.h.\n\n* When the script inserts a new include, it looks at the include\n  blocks and try to put the new include such that its order conforms\n  to its surrounding.  It\u0027s put in the include block which contains\n  core kernel includes, in the same order that the rest are ordered -\n  alphabetical, Christmas tree, rev-Xmas-tree or at the end if there\n  doesn\u0027t seem to be any matching order.\n\n* If the script can\u0027t find a place to put a new include (mostly\n  because the file doesn\u0027t have fitting include block), it prints out\n  an error message indicating which .h file needs to be added to the\n  file.\n\nThe conversion was done in the following steps.\n\n1. The initial automatic conversion of all .c files updated slightly\n   over 4000 files, deleting around 700 includes and adding ~480 gfp.h\n   and ~3000 slab.h inclusions.  The script emitted errors for ~400\n   files.\n\n2. Each error was manually checked.  Some didn\u0027t need the inclusion,\n   some needed manual addition while adding it to implementation .h or\n   embedding .c file was more appropriate for others.  This step added\n   inclusions to around 150 files.\n\n3. The script was run again and the output was compared to the edits\n   from #2 to make sure no file was left behind.\n\n4. Several build tests were done and a couple of problems were fixed.\n   e.g. lib/decompress_*.c used malloc/free() wrappers around slab\n   APIs requiring slab.h to be added manually.\n\n5. The script was run on all .h files but without automatically\n   editing them as sprinkling gfp.h and slab.h inclusions around .h\n   files could easily lead to inclusion dependency hell.  Most gfp.h\n   inclusion directives were ignored as stuff from gfp.h was usually\n   wildly available and often used in preprocessor macros.  Each\n   slab.h inclusion directive was examined and added manually as\n   necessary.\n\n6. percpu.h was updated not to include slab.h.\n\n7. Build test were done on the following configurations and failures\n   were fixed.  CONFIG_GCOV_KERNEL was turned off for all tests (as my\n   distributed build env didn\u0027t work with gcov compiles) and a few\n   more options had to be turned off depending on archs to make things\n   build (like ipr on powerpc/64 which failed due to missing writeq).\n\n   * x86 and x86_64 UP and SMP allmodconfig and a custom test config.\n   * powerpc and powerpc64 SMP allmodconfig\n   * sparc and sparc64 SMP allmodconfig\n   * ia64 SMP allmodconfig\n   * s390 SMP allmodconfig\n   * alpha SMP allmodconfig\n   * um on x86_64 SMP allmodconfig\n\n8. percpu.h modifications were reverted so that it could be applied as\n   a separate patch and serve as bisection point.\n\nGiven the fact that I had only a couple of failures from tests on step\n6, I\u0027m fairly confident about the coverage of this conversion patch.\nIf there is a breakage, it\u0027s likely to be something in one of the arch\nheaders which should be easily discoverable easily on most builds of\nthe specific arch.\n\nSigned-off-by: Tejun Heo \u003ctj@kernel.org\u003e\nGuess-its-ok-by: Christoph Lameter \u003ccl@linux-foundation.org\u003e\nCc: Ingo Molnar \u003cmingo@redhat.com\u003e\nCc: Lee Schermerhorn \u003cLee.Schermerhorn@hp.com\u003e\n"
    },
    {
      "commit": "f5e2bae0aad03164ffc7ce9dfeee6608e2c87dba",
      "tree": "6993fa233c58a12ffe4f8136a28309c2d9cc762e",
      "parents": [
        "f6a8c60960bbea378142d1fa1b3d111555ee41c7"
      ],
      "author": {
        "name": "Morten Thunberg Svendsen",
        "email": "mts.doredevelopment@gmail.com",
        "time": "Wed Jan 06 10:48:18 2010 +0100"
      },
      "committer": {
        "name": "David Woodhouse",
        "email": "David.Woodhouse@intel.com",
        "time": "Wed Jan 13 09:06:17 2010 +0000"
      },
      "message": "mtd: tests: fix read, speed and stress tests on NOR flash\n\nBefore using block_isbad() check if mtd-\u003eblock_isbad() is defined.\nCalculating pgcnt must be done using pgsize defined to 512 on\nNOR and mtd-\u003ewritesize for NAND, not using  mtd-\u003ewritesize directly.\n\nSigned-off-by: Morten Thunberg Svendsen \u003cmts.doredevelopment@gmail.com\u003e\nAcked-by: Artem Bityutskiy \u003cArtem.Bityutskiy@nokia.com\u003e\nSigned-off-by: David Woodhouse \u003cDavid.Woodhouse@intel.com\u003e\n"
    },
    {
      "commit": "4c2b8a62bb0e35f2db0f713b4101b265be7fa985",
      "tree": "a54fe210dd515ea52cfd8bb18efb704623bbd373",
      "parents": [
        "daa0f15a8dc6ef81655c7853f84a3670be7d144a"
      ],
      "author": {
        "name": "Artem Bityutskiy",
        "email": "Artem.Bityutskiy@nokia.com",
        "time": "Fri Nov 27 16:58:08 2009 +0200"
      },
      "committer": {
        "name": "David Woodhouse",
        "email": "David.Woodhouse@intel.com",
        "time": "Mon Nov 30 10:02:41 2009 +0000"
      },
      "message": "mtd: make pagetest work\n\nThe mtd_pagetest test did not initialize the pgsize variable, which\nbasically means it did not work. This problem was reported by\nTörök Edwin \u003cedwintorok@gmail.com\u003e\n\nSigned-off-by: Artem Bityutskiy \u003cArtem.Bityutskiy@nokia.com\u003e\nSigned-off-by: David Woodhouse \u003cDavid.Woodhouse@intel.com\u003e\n"
    },
    {
      "commit": "7126bd8be4ee009c56c4ec037f07f2c0884413fc",
      "tree": "0c453ef8f478f10d70aa5a913a36795244711bfc",
      "parents": [
        "1c63aca32903efc219fb9df72bae5344f3e54ed5"
      ],
      "author": {
        "name": "Akinobu Mita",
        "email": "akinobu.mita@gmail.com",
        "time": "Thu Oct 22 16:53:33 2009 +0900"
      },
      "committer": {
        "name": "David Woodhouse",
        "email": "David.Woodhouse@intel.com",
        "time": "Mon Nov 30 09:41:49 2009 +0000"
      },
      "message": "mtd: add nand_ecc test module\n\nThis module tests NAND ECC functions.\n\nThe test is simple.\n\n1. Create a 256 or 512 bytes block of data filled with random bytes (data)\n2. Duplicate the data block and inject single bit error (error_data)\n3. Try to correct error_data\n4. Compare data and error_data\n\nSigned-off-by: Akinobu Mita \u003cakinobu.mita@gmail.com\u003e\nAcked-by: Vimal Singh \u003cvimalsingh@ti.com\u003e\nSigned-off-by: Artem Bityutskiy \u003cArtem.Bityutskiy@nokia.com\u003e\nSigned-off-by: David Woodhouse \u003cDavid.Woodhouse@intel.com\u003e\n"
    },
    {
      "commit": "f54d6336372b97d3624d1c5c179b2dd062472bd1",
      "tree": "b3273e94befaa95785717498c2df0cdeda2a50ea",
      "parents": [
        "5a134239e707b23c65948f41f40b828d40e440af"
      ],
      "author": {
        "name": "Akinobu Mita",
        "email": "akinobu.mita@gmail.com",
        "time": "Fri Oct 09 18:43:52 2009 +0900"
      },
      "committer": {
        "name": "David Woodhouse",
        "email": "David.Woodhouse@intel.com",
        "time": "Sat Oct 17 15:39:48 2009 +0100"
      },
      "message": "mtd: cleanup mtd_oobtest\n\n- Remove unnecessary memset for bbt\n  All entries will be initialized at a few lines below\n- Remove unnecessary initialization for mtd-\u003eerasesize\n- Use write_whole_device()\n\nSigned-off-by: Akinobu Mita \u003cakinobu.mita@gmail.com\u003e\nSigned-off-by: Artem Bityutskiy \u003cArtem.Bityutskiy@nokia.com\u003e\nSigned-off-by: David Woodhouse \u003cDavid.Woodhouse@intel.com\u003e\n"
    },
    {
      "commit": "c6f7e7beb9e6a64816f534a3a0dd0cfa4937f1fe",
      "tree": "c0fed3deeb9862dffac83ac45814e70341317c2e",
      "parents": [
        "269c0ee66367b11de9758ee64ea039843f0c7cad"
      ],
      "author": {
        "name": "Roel Kluin",
        "email": "roel.kluin@gmail.com",
        "time": "Fri Jul 31 16:21:01 2009 +0200"
      },
      "committer": {
        "name": "David Woodhouse",
        "email": "David.Woodhouse@intel.com",
        "time": "Fri Sep 04 09:40:17 2009 +0100"
      },
      "message": "mtd: tests: fix read buffer overflows\n\nCheck whether index is within bounds before testing the element.\n\nSigned-off-by: Roel Kluin \u003croel.kluin@gmail.com\u003e\nSigned-off-by: Artem Bityutskiy \u003cArtem.Bityutskiy@nokia.com\u003e\nSigned-off-by: David Woodhouse \u003cDavid.Woodhouse@intel.com\u003e\n"
    },
    {
      "commit": "23d42494915d4dbdf99bccd35a76f3d45fbed62e",
      "tree": "8403a58885cdb95bb889688def72eedb8ff1ab09",
      "parents": [
        "9c12bd8601a505d10fb5a93fed59a973088cbb85"
      ],
      "author": {
        "name": "Hannes Eder",
        "email": "hannes@hanneseder.net",
        "time": "Thu Mar 05 20:15:01 2009 +0100"
      },
      "committer": {
        "name": "Jiri Kosina",
        "email": "jkosina@suse.cz",
        "time": "Mon Mar 30 15:22:04 2009 +0200"
      },
      "message": "trivial: NULL noise: drivers/mtd/tests/mtd_*test.c\n\nFix this sparse warnings:\n  drivers/mtd/tests/mtd_oobtest.c:139:33: warning: Using plain integer as NULL pointer\n  drivers/mtd/tests/mtd_oobtest.c:192:33: warning: Using plain integer as NULL pointer\n  drivers/mtd/tests/mtd_oobtest.c:219:41: warning: Using plain integer as NULL pointer\n  drivers/mtd/tests/mtd_oobtest.c:284:25: warning: Using plain integer as NULL pointer\n  drivers/mtd/tests/mtd_oobtest.c:525:25: warning: Using plain integer as NULL pointer\n  drivers/mtd/tests/mtd_oobtest.c:545:25: warning: Using plain integer as NULL pointer\n  drivers/mtd/tests/mtd_oobtest.c:569:33: warning: Using plain integer as NULL pointer\n  drivers/mtd/tests/mtd_oobtest.c:589:33: warning: Using plain integer as NULL pointer\n  drivers/mtd/tests/mtd_oobtest.c:613:33: warning: Using plain integer as NULL pointer\n  drivers/mtd/tests/mtd_oobtest.c:633:33: warning: Using plain integer as NULL pointer\n  drivers/mtd/tests/mtd_oobtest.c:673:41: warning: Using plain integer as NULL pointer\n  drivers/mtd/tests/mtd_oobtest.c:701:33: warning: Using plain integer as NULL pointer\n  drivers/mtd/tests/mtd_readtest.c:74:41: warning: Using plain integer as NULL pointer\n\nSigned-off-by: Hannes Eder \u003channes@hanneseder.net\u003e\nAcked-by: Artem Bityutskiy \u003cArtem.Bityutskiy@nokia.com\u003e\nSigned-off-by: Jiri Kosina \u003cjkosina@suse.cz\u003e\n"
    },
    {
      "commit": "647b0d3854d776485faea9de7e7ed7fd4bdc6f20",
      "tree": "9a527f270afdf6157699d8c360b63a53c0419146",
      "parents": [
        "572acc41274522b865440d0644d5f986e3c83755"
      ],
      "author": {
        "name": "David Woodhouse",
        "email": "David.Woodhouse@intel.com",
        "time": "Mon Jan 05 16:31:03 2009 +0000"
      },
      "committer": {
        "name": "David Woodhouse",
        "email": "David.Woodhouse@intel.com",
        "time": "Mon Jan 05 16:31:03 2009 +0000"
      },
      "message": "[MTD] [TESTS] Fix some size_t printk format warnings\n\nSigned-off-by: David Woodhouse \u003cDavid.Woodhouse@intel.com\u003e\n"
    },
    {
      "commit": "9faa8153bef4d82395e6ff7f87cb7c457055007c",
      "tree": "a0602abd31d029f5d74d73789ced50e435b9307a",
      "parents": [
        "4db451a7649decfdcb29d21016d7e031accc5cda"
      ],
      "author": {
        "name": "Artem Bityutskiy",
        "email": "Artem.Bityutskiy@nokia.com",
        "time": "Mon Dec 08 13:39:25 2008 +0200"
      },
      "committer": {
        "name": "Artem Bityutskiy",
        "email": "Artem.Bityutskiy@nokia.com",
        "time": "Wed Dec 10 17:00:44 2008 +0200"
      },
      "message": "MTD: add MTD tests to compilation\n\nAdd MTD tests to Kconfig and Makefiles.\n\nSigned-off-by: Artem Bityutskiy \u003cArtem.Bityutskiy@nokia.com\u003e\n"
    },
    {
      "commit": "4db451a7649decfdcb29d21016d7e031accc5cda",
      "tree": "e09806c2dd71a4ec3146236e217291a6f534ed4b",
      "parents": [
        "bf60862a58f7cd881cfe86a3b2aceaea4a22b3b0"
      ],
      "author": {
        "name": "Artem Bityutskiy",
        "email": "Artem.Bityutskiy@nokia.com",
        "time": "Mon Dec 08 13:38:34 2008 +0200"
      },
      "committer": {
        "name": "Artem Bityutskiy",
        "email": "Artem.Bityutskiy@nokia.com",
        "time": "Wed Dec 10 17:00:40 2008 +0200"
      },
      "message": "MTD: tests: add mtd_torturetest\n\nThis test is designed to work for very long time and it tries to\nwear few eraseblocks.\n\nSigned-off-by: Artem Bityutskiy \u003cArtem.Bityutskiy@nokia.com\u003e\n"
    },
    {
      "commit": "bf60862a58f7cd881cfe86a3b2aceaea4a22b3b0",
      "tree": "622e85be4854a4ba65524d0caa4140ab1da9b108",
      "parents": [
        "7163cea15f7b362795b858e7c130cd617aecc0aa"
      ],
      "author": {
        "name": "Artem Bityutskiy",
        "email": "Artem.Bityutskiy@nokia.com",
        "time": "Mon Dec 08 13:37:48 2008 +0200"
      },
      "committer": {
        "name": "Artem Bityutskiy",
        "email": "Artem.Bityutskiy@nokia.com",
        "time": "Mon Dec 08 13:56:14 2008 +0200"
      },
      "message": "MTD: tests: add mtd_subpagetest\n\nThis tests makes sure sub-pages on NAND MTD device work fine.\n\nSigned-off-by: Artem Bityutskiy \u003cArtem.Bityutskiy@nokia.com\u003e\n"
    },
    {
      "commit": "7163cea15f7b362795b858e7c130cd617aecc0aa",
      "tree": "7e21e948c3ab1ef98d3c7b9c40d942321fc4a42e",
      "parents": [
        "72069be936028ff236a6f783cb9a57abc5da7f41"
      ],
      "author": {
        "name": "Artem Bityutskiy",
        "email": "Artem.Bityutskiy@nokia.com",
        "time": "Mon Dec 08 13:36:47 2008 +0200"
      },
      "committer": {
        "name": "Artem Bityutskiy",
        "email": "Artem.Bityutskiy@nokia.com",
        "time": "Mon Dec 08 13:56:14 2008 +0200"
      },
      "message": "MTD: tests: add mtd_stresstest\n\nThis test just performs random operations on random eraseblocks.\n\nSigned-off-by: Artem Bityutskiy \u003cArtem.Bityutskiy@nokia.com\u003e\n"
    },
    {
      "commit": "72069be936028ff236a6f783cb9a57abc5da7f41",
      "tree": "eb8efd1dae5c1bf684812e14b0792a85efccb281",
      "parents": [
        "72091b6889c6dc9a8303887389c44008f657dde7"
      ],
      "author": {
        "name": "Artem Bityutskiy",
        "email": "Artem.Bityutskiy@nokia.com",
        "time": "Mon Dec 08 13:36:18 2008 +0200"
      },
      "committer": {
        "name": "Artem Bityutskiy",
        "email": "Artem.Bityutskiy@nokia.com",
        "time": "Mon Dec 08 13:56:14 2008 +0200"
      },
      "message": "MTD: tests: add mtd_speedtest\n\nThis test examines I/O speed of the flash device.\n\nSigned-off-by: Artem Bityutskiy \u003cArtem.Bityutskiy@nokia.com\u003e\n"
    },
    {
      "commit": "72091b6889c6dc9a8303887389c44008f657dde7",
      "tree": "95ee6e6798666cc945a72794cbe157370bebd51f",
      "parents": [
        "e73f217439c7f3e49f9c0048bd04cb77ba656e66"
      ],
      "author": {
        "name": "Artem Bityutskiy",
        "email": "Artem.Bityutskiy@nokia.com",
        "time": "Mon Dec 08 13:34:59 2008 +0200"
      },
      "committer": {
        "name": "Artem Bityutskiy",
        "email": "Artem.Bityutskiy@nokia.com",
        "time": "Mon Dec 08 13:56:14 2008 +0200"
      },
      "message": "MTD: tests: add mtd_readtest\n\nA simple tests which reads whole MTD device one page at a time.\n\nSigned-off-by: Artem Bityutskiy \u003cArtem.Bityutskiy@nokia.com\u003e\n"
    },
    {
      "commit": "e73f217439c7f3e49f9c0048bd04cb77ba656e66",
      "tree": "367b1e7758c95f0d3655fd654f574c105fbad3e9",
      "parents": [
        "e3644da7563d844e94b186a468e480c5575a6572"
      ],
      "author": {
        "name": "Artem Bityutskiy",
        "email": "Artem.Bityutskiy@nokia.com",
        "time": "Mon Dec 08 13:34:16 2008 +0200"
      },
      "committer": {
        "name": "Artem Bityutskiy",
        "email": "Artem.Bityutskiy@nokia.com",
        "time": "Mon Dec 08 13:56:14 2008 +0200"
      },
      "message": "MTD: tests: add mtd_pagetest\n\nThis test checks that NAND pages read/write work fine.\n\nSigned-off-by: Artem Bityutskiy \u003cArtem.Bityutskiy@nokia.com\u003e\n"
    },
    {
      "commit": "e3644da7563d844e94b186a468e480c5575a6572",
      "tree": "6230a431e66944b005261630a1b019d3c8cd7044",
      "parents": [
        "e93f1be503efd0e44e46fc1fd4c13dbee72a6561"
      ],
      "author": {
        "name": "Artem Bityutskiy",
        "email": "Artem.Bityutskiy@nokia.com",
        "time": "Mon Dec 08 13:33:29 2008 +0200"
      },
      "committer": {
        "name": "Artem Bityutskiy",
        "email": "Artem.Bityutskiy@nokia.com",
        "time": "Mon Dec 08 13:56:13 2008 +0200"
      },
      "message": "MTD: tests: add mtd_oobtest\n\nThis test checks that OOB of a NAND MTD device works fine.\n\nSigned-off-by: Artem Bityutskiy \u003cArtem.Bityutskiy@nokia.com\u003e\n"
    }
  ]
}
