)]}'
{
  "commit": "9e8429bf62a08f11359526b2e1bc4b47f1c658ff",
  "tree": "d299ae4b2cad70f22443997e7968430629de1c35",
  "parents": [
    "2133e30fc2651a42a013dc622bbec6456041a7f3"
  ],
  "author": {
    "name": "Nathan Chancellor",
    "email": "natechancellor@gmail.com",
    "time": "Wed Apr 08 13:53:23 2020 -0700"
  },
  "committer": {
    "name": "Greg Kroah-Hartman",
    "email": "gregkh@linuxfoundation.org",
    "time": "Sun Jun 07 13:17:56 2020 +0200"
  },
  "message": "x86/mmiotrace: Use cpumask_available() for cpumask_var_t variables\n\n[ Upstream commit d7110a26e5905ec2fe3fc88bc6a538901accb72b ]\n\nWhen building with Clang + -Wtautological-compare and\nCONFIG_CPUMASK_OFFSTACK unset:\n\n  arch/x86/mm/mmio-mod.c:375:6: warning: comparison of array \u0027downed_cpus\u0027\n  equal to a null pointer is always false [-Wtautological-pointer-compare]\n          if (downed_cpus \u003d\u003d NULL \u0026\u0026\n              ^~~~~~~~~~~    ~~~~\n  arch/x86/mm/mmio-mod.c:405:6: warning: comparison of array \u0027downed_cpus\u0027\n  equal to a null pointer is always false [-Wtautological-pointer-compare]\n          if (downed_cpus \u003d\u003d NULL || cpumask_weight(downed_cpus) \u003d\u003d 0)\n              ^~~~~~~~~~~    ~~~~\n  2 warnings generated.\n\nCommit\n\n  f7e30f01a9e2 (\"cpumask: Add helper cpumask_available()\")\n\nadded cpumask_available() to fix warnings of this nature. Use that here\nso that clang does not warn regardless of CONFIG_CPUMASK_OFFSTACK\u0027s\nvalue.\n\nReported-by: Sedat Dilek \u003csedat.dilek@gmail.com\u003e\nSigned-off-by: Nathan Chancellor \u003cnatechancellor@gmail.com\u003e\nSigned-off-by: Borislav Petkov \u003cbp@suse.de\u003e\nReviewed-by: Nick Desaulniers \u003cndesaulniers@google.com\u003e\nAcked-by: Steven Rostedt (VMware) \u003crostedt@goodmis.org\u003e\nLink: https://github.com/ClangBuiltLinux/linux/issues/982\nLink: https://lkml.kernel.org/r/20200408205323.44490-1-natechancellor@gmail.com\nSigned-off-by: Sasha Levin \u003csashal@kernel.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2c1ecf4763c4dc4d019c663b5b919e8a9b7901e8",
      "old_mode": 33188,
      "old_path": "arch/x86/mm/mmio-mod.c",
      "new_id": "e32b003e064a9b4ed261cb5fc94272f402a1e11b",
      "new_mode": 33188,
      "new_path": "arch/x86/mm/mmio-mod.c"
    }
  ]
}
