)]}'
{
  "commit": "cfad68d10849c910bfe3885e2a17de3ca4707588",
  "tree": "60b3c3c77b2d0245f063eef53b8df9713a8864b7",
  "parents": [
    "fbfce5c5f9c4341a535d252cef302a3d49bcb3f2"
  ],
  "author": {
    "name": "Anju T Sudhakar",
    "email": "anju@linux.vnet.ibm.com",
    "time": "Wed Nov 27 12:50:35 2019 +0530"
  },
  "committer": {
    "name": "Greg Kroah-Hartman",
    "email": "gregkh@linuxfoundation.org",
    "time": "Sun Jun 07 13:17:55 2020 +0200"
  },
  "message": "powerpc/powernv: Avoid re-registration of imc debugfs directory\n\n[ Upstream commit 48e626ac85b43cc589dd1b3b8004f7f85f03544d ]\n\nexport_imc_mode_and_cmd() function which creates the debugfs interface\nfor imc-mode and imc-command, is invoked when each nest pmu units is\nregistered.\n\nWhen the first nest pmu unit is registered, export_imc_mode_and_cmd()\ncreates \u0027imc\u0027 directory under `/debug/powerpc/`. In the subsequent\ninvocations debugfs_create_dir() function returns, since the directory\nalready exists.\n\nThe recent commit \u003cc33d442328f55\u003e (debugfs: make error message a bit\nmore verbose), throws a warning if we try to invoke\n`debugfs_create_dir()` with an already existing directory name.\n\nAddress this warning by making the debugfs directory registration in\nthe opal_imc_counters_probe() function, i.e invoke\nexport_imc_mode_and_cmd() function from the probe function.\n\nSigned-off-by: Anju T Sudhakar \u003canju@linux.vnet.ibm.com\u003e\nTested-by: Nageswara R Sastry \u003cnasastry@in.ibm.com\u003e\nSigned-off-by: Michael Ellerman \u003cmpe@ellerman.id.au\u003e\nLink: https://lore.kernel.org/r/20191127072035.4283-1-anju@linux.vnet.ibm.com\nSigned-off-by: Sasha Levin \u003csashal@kernel.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "649fb268f446141bd255f4414f1f692be187fba1",
      "old_mode": 33188,
      "old_path": "arch/powerpc/platforms/powernv/opal-imc.c",
      "new_id": "5399682797d0d08105cc1ffeeb19f0bdad698dac",
      "new_mode": 33188,
      "new_path": "arch/powerpc/platforms/powernv/opal-imc.c"
    }
  ]
}
