)]}'
{
  "commit": "09682c1dd3820445a27d32dcbeee6a6eafff3dc9",
  "tree": "7e4b74d59ea2fbcf2a6210c3834f58aceab194e0",
  "parents": [
    "6b16351acbd415e66ba16bf7d473ece1574cf0bc"
  ],
  "author": {
    "name": "Paul Mundt",
    "email": "lethal@linux-sh.org",
    "time": "Mon Jun 25 17:15:31 2012 +0900"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Mon Jun 25 10:32:49 2012 -0700"
  },
  "message": "bug.h: Fix up CONFIG_BUG\u003dn implicit function declarations.\n\nCommit 2603efa31a03 (\"bug.h: Fix up powerpc build regression\") corrected\nthe powerpc build case and extended the __ASSEMBLY__ guards, but it also\ngot caught in pre-processor hell accidentally matching the else case of\nCONFIG_BUG resulting in the BUG disabled case tripping up on\n-Werror\u003dimplicit-function-declaration.\n\nIt\u0027s not possible to __ASSEMBLY__ guard the entire file as architecture\ncode needs to get at the BUGFLAG_WARNING definition in the GENERIC_BUG\ncase, but the rest of the CONFIG_BUG\u003dy/n case needs to be guarded.\n\nRather than littering endless __ASSEMBLY__ checks in each of the if/else\ncases we just move the BUGFLAG definitions up under their own\nGENERIC_BUG test and then shove everything else under one big\n__ASSEMBLY__ guard.\n\nBuild tested on all of x86 CONFIG_BUG\u003dy, CONFIG_BUG\u003dn, powerpc (due to\nit\u0027s dependence on BUGFLAG definitions in assembly code), and sh (due to\nnot bringing in linux/kernel.h to satisfy the taint flag definitions used\nby the generic bug code).\n\nHopefully that\u0027s the end of the corner cases and I can abstain from ever\nhaving to touch this infernal header ever again.\n\nReported-by: Fengguang Wu \u003cfengguang.wu@intel.com\u003e\nTested-by: Fengguang Wu \u003cwfg@linux.intel.com\u003e\nAcked-by: Randy Dunlap \u003crdunlap@xenotime.net\u003e\nCc: Arnd Bergmann \u003carnd@arndb.de\u003e\nSigned-off-by: Paul Mundt \u003clethal@linux-sh.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "506ec19a3736b575c2d41519cc7c52ec64714bb0",
      "old_mode": 33188,
      "old_path": "include/asm-generic/bug.h",
      "new_id": "7d10f962aa137776389daf226b42b8be9702e1bd",
      "new_mode": 33188,
      "new_path": "include/asm-generic/bug.h"
    }
  ]
}
