)]}'
{
  "commit": "1affc46cffad9f2bc7c9ffec85726446903a58f9",
  "tree": "9575e5bb55445b034db36202c40fbec7f0ea4611",
  "parents": [
    "2ac13462b6d242684996e88a07fbed6dec6af622"
  ],
  "author": {
    "name": "Jesper Juhl",
    "email": "jj@chaosbits.net",
    "time": "Sun Dec 18 01:05:31 2011 +0100"
  },
  "committer": {
    "name": "Ingo Molnar",
    "email": "mingo@elte.hu",
    "time": "Sun Dec 18 09:14:31 2011 +0100"
  },
  "message": "x86: Use \"do { } while(0)\" for empty lock_cmos()/unlock_cmos() macros\n\ngcc noticed (when using -Wempty-body) that our use of\nlock_cmos() and unlock_cmos() in\narch/x86/include/asm/mach_traps.h is potentially problematic :\n\n  arch/x86/include/asm/mach_traps.h:32:15: warning: suggest braces around empty body in an ¡else¢ statement [-Wempty-body]\n  arch/x86/include/asm/mach_traps.h:40:16: warning: suggest braces around empty body in an ¡else¢ statement [-Wempty-body]\n\nLet\u0027s just use the standard \u0027do {} while (0)\u0027 solution. That\nshuts up gcc and also prevents future problems if the macros\nshould end up being used in a similar situation elsewhere.\n\nSigned-off-by: Jesper Juhl \u003cjj@chaosbits.net\u003e\nLink: http://lkml.kernel.org/r/alpine.LNX.2.00.1112180103130.21784@swampdragon.chaosbits.net\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "01fdf5674e24da868a04c717a7792be302717483",
      "old_mode": 33188,
      "old_path": "arch/x86/include/asm/mc146818rtc.h",
      "new_id": "0e8e85bb7c51bc57fd87bebeb6727e675ebe1c8f",
      "new_mode": 33188,
      "new_path": "arch/x86/include/asm/mc146818rtc.h"
    }
  ]
}
