)]}'
{
  "commit": "5f7ddae6104d85e27c0fbcb508cfe8286a01a5e1",
  "tree": "2bd6316f18a27b8c2575b9f0844c47ff392d8fca",
  "parents": [
    "7840a94cd12559d8aee6382fafb85fbc9eb3a2c2"
  ],
  "author": {
    "name": "Raffaele Recalcati",
    "email": "raffaele.recalcati@bticino.it",
    "time": "Mon Aug 09 17:20:59 2010 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Mon Aug 09 20:45:09 2010 -0700"
  },
  "message": "checkpatch: fix handling of leading spaces\n\nI\u0027ve got a false positive when spaces are present at the beginning of a\nline.\n\nSo I add this check, obviously excluding to check the lines in the middle of\ncomments.\n\nFor instance this code passes the checkpatch test:\n\n+struct davinci_mcbsp_data {\n+       unsigned int    fmt;\n+    int             clk_div;\n+};\n+\n+static struct davinci_mcbsp_data mcbsp_data;\n\nWhere, before the string \"int             clk_div\", I have 4 spaces (\\040\nascii character).\n\nWith v2.6.34 scripts/checkpatch.pl script I get:\n\nscripts/checkpatch.pl 0001-ASoC-DaVinci-Added-support-for-stereo-I2S.patch\ntotal: 0 errors, 0 warnings, 201 lines checked\n0001-ASoC-DaVinci-Added-support-for-stereo-I2S.patch has no obvious style\nproblems and is ready for submission.\n\nThat is not correct.  Instead with the proposed patch I get:\n\nscripts/checkpatch.pl 0001-ASoC-DaVinci-Added-support-for-stereo-I2S.patch\nWARNING: please, no space for starting a line,\n                excluding comments\n#63: FILE: sound/soc/davinci/davinci-i2s.c:165:\n+    int             clk_div;$\n\nWARNING: please, no space for starting a line,\n                excluding comments\n#95: FILE: sound/soc/davinci/davinci-i2s.c:406:\n+    return 0;$\n\ntotal: 0 errors, 2 warnings, 201 lines checked\n\nThat is correct.\n\nSigned-off-by: Raffaele Recalcati \u003craffaele.recalcati@bticino.it\u003e\nCc: Wolfram Sang \u003cw.sang@pengutronix.de\u003e\nCc: Andy Whitcroft \u003capw@shadowen.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": "315faf99effd95a1f8246504b6560680e464b5d8",
      "old_mode": 33261,
      "old_path": "scripts/checkpatch.pl",
      "new_id": "d7a44fd3b2243405cfb5c9a871d305221e6dd2cf",
      "new_mode": 33261,
      "new_path": "scripts/checkpatch.pl"
    }
  ]
}
