)]}'
{
  "commit": "9e07e3b81807edd356e1f794cffa00a428eff443",
  "tree": "5a701bc18adde708aa9b811dde10b8ce8e6326f5",
  "parents": [
    "45b859b0728267a6199ee5002d62e6c6f3e8c89d"
  ],
  "author": {
    "name": "Rafael J. Wysocki",
    "email": "rafael.j.wysocki@intel.com",
    "time": "Wed Apr 01 16:33:53 2026 +0200"
  },
  "committer": {
    "name": "Rafael J. Wysocki",
    "email": "rafael.j.wysocki@intel.com",
    "time": "Thu Apr 02 11:37:35 2026 +0200"
  },
  "message": "thermal: core: Fix thermal zone device registration error path\n\nIf thermal_zone_device_register_with_trips() fails after registering\na thermal zone device, it needs to wait for the tz-\u003eremoval completion\nlike thermal_zone_device_unregister(), in case user space has managed\nto take a reference to the thermal zone device\u0027s kobject, in which case\nthermal_release() may not be called by the error path itself and tz may\nbe freed prematurely.\n\nAdd the missing wait_for_completion() call to the thermal zone device\nregistration error path.\n\nFixes: 04e6ccfc93c5 (\"thermal: core: Fix NULL pointer dereference in zone registration error path\")\nSigned-off-by: Rafael J. Wysocki \u003crafael.j.wysocki@intel.com\u003e\nCc: All applicable \u003cstable@vger.kernel.org\u003e\nReviewed-by: Lukasz Luba \u003clukasz.luba@arm.com\u003e\nTested-by: Lukasz Luba \u003clukasz.luba@arm.com\u003e\nLink: https://patch.msgid.link/2849815.mvXUDI8C0e@rafael.j.wysocki\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5337612e484da67b344325dfa281d8395f139d66",
      "old_mode": 33188,
      "old_path": "drivers/thermal/thermal_core.c",
      "new_id": "d1beee9e15f8ef9240f69a5dd169ecf70625d5fe",
      "new_mode": 33188,
      "new_path": "drivers/thermal/thermal_core.c"
    }
  ]
}
