)]}'
{
  "commit": "1399ff86f2a2bbacbbe68fa00c5f8c752b344723",
  "tree": "7cfb8e346ff8d750cbf33bb0655603e21e394c37",
  "parents": [
    "1e16a539ac16e7b3a8c2cee188897d4bdb88e6e8"
  ],
  "author": {
    "name": "David Daney",
    "email": "david.daney@cavium.com",
    "time": "Tue Jan 10 15:07:25 2012 -0800"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Tue Jan 10 16:30:42 2012 -0800"
  },
  "message": "kernel.h: add BUILD_BUG() macro\n\nWe can place this in definitions that we expect the compiler to remove by\ndead code elimination.  If this assertion fails, we get a nice error\nmessage at build time.\n\nThe GCC function attribute error(\"message\") was added in version 4.3, so\nwe define a new macro __linktime_error(message) to expand to this for\nGCC-4.3 and later.  This will give us an error diagnostic from the\ncompiler on the line that fails.  For other compilers\n__linktime_error(message) expands to nothing, and we have to be content\nwith a link time error, but at least we will still get a build error.\n\nBUILD_BUG() expands to the undefined function __build_bug_failed() and\nwill fail at link time if the compiler ever emits code for it.  On GCC-4.3\nand later, attribute((error())) is used so that the failure will be noted\nat compile time instead.\n\nSigned-off-by: David Daney \u003cdavid.daney@cavium.com\u003e\nAcked-by: David Rientjes \u003crientjes@google.com\u003e\nCc: DM \u003cdm.n9107@gmail.com\u003e\nCc: Ralf Baechle \u003cralf@linux-mips.org\u003e\nAcked-by: David Howells \u003cdhowells@redhat.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": "dfadc96e9d63851c334885f0ec7761c8d6cfe3ff",
      "old_mode": 33188,
      "old_path": "include/linux/compiler-gcc4.h",
      "new_id": "2f4079175afb81f80f641e28da9b1145b5415bae",
      "new_mode": 33188,
      "new_path": "include/linux/compiler-gcc4.h"
    },
    {
      "type": "modify",
      "old_id": "320d6c94ff848d5db94fb1fd76576501a88e9a3a",
      "old_mode": 33188,
      "old_path": "include/linux/compiler.h",
      "new_id": "4a243546d142b3e0264b115332bf73e354aa0fdf",
      "new_mode": 33188,
      "new_path": "include/linux/compiler.h"
    },
    {
      "type": "modify",
      "old_id": "e8b1597b5cf2592b85157674b1d1fcbd555d309a",
      "old_mode": 33188,
      "old_path": "include/linux/kernel.h",
      "new_id": "f48e8a52854427466203d28142293914d77c1647",
      "new_mode": 33188,
      "new_path": "include/linux/kernel.h"
    }
  ]
}
