)]}'
{
  "commit": "0d2f4cfa564355fcbbc71498fd8ec09243036109",
  "tree": "0b83db026db1de0e32a7ef05e02d599ee3bee3cf",
  "parents": [
    "8ee521b8b189799e361d4233c5180ba56656d4d4"
  ],
  "author": {
    "name": "Srinivasan Shanmugam",
    "email": "srinivasan.shanmugam@amd.com",
    "time": "Tue Sep 15 14:07:39 2026 +0530"
  },
  "committer": {
    "name": "Alex Deucher",
    "email": "alexander.deucher@amd.com",
    "time": "Thu Sep 17 11:57:29 2026 -0400"
  },
  "message": "drm/amd/display: Fix NULL dereference in dcn50/dcn60 init_hw\n\ndc-\u003eclk_mgr is checked for NULL earlier in dcn50_init_hw() and\ndcn60_init_hw(), but dcn50_initialize_min_clocks() and\ndcn401_initialize_min_clocks() are called without any guard,\ncausing Smatch to report potential NULL dereferences.\n\nGuard both call sites with the same pattern used throughout\nboth functions:\n\n  if (dc-\u003eclk_mgr \u0026\u0026 dc-\u003eclk_mgr-\u003efuncs)\n\nAlso fix dcn50_initialize_min_clocks() which calls\nget_dispclk_from_dentist without checking the function pointer,\nunlike the dcn401 equivalent which guards that call.\n\nFix kernel-doc in dcn60_hwseq.c by adding missing parameter descriptions\nfor @probe in dcn60_update_probe_status() and @type in\nis_probe_measurement_type_for_hubbub().\n\nFixes: 7f7d7ea1fa51 (\"drm/amd/display: Add new sources for DCN6\")\nReported-by: Dan Carpenter \u003cerror27@gmail.com\u003e\nCc: Aurabindo Pillai \u003caurabindo.pillai@amd.com\u003e\nCc: Ivan Lipski \u003civan.lipski@amd.com\u003e\nCc: Dan Wheeler \u003cdaniel.wheeler@amd.com\u003e\nCc: Roman Li \u003croman.li@amd.com\u003e\nCc: Alex Hung \u003calex.hung@amd.com\u003e\nCc: Tom Chung \u003cchiahsuan.chung@amd.com\u003e\nSigned-off-by: Srinivasan Shanmugam \u003csrinivasan.shanmugam@amd.com\u003e\nReviewed-by: Alex Hung \u003calex.hung@amd.com\u003e\nSigned-off-by: Alex Deucher \u003calexander.deucher@amd.com\u003e\n(cherry picked from commit 325c9a827cdd748e126eafeadaffc556204773d2)\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a7f8fd03faea5437d431b8a3b2fb0da84c131fe9",
      "old_mode": 33188,
      "old_path": "drivers/gpu/drm/amd/display/dc/hwss/dcn50/dcn50_hwseq.c",
      "new_id": "e549556b96796716e0c4b6785a4f18226c0167b5",
      "new_mode": 33188,
      "new_path": "drivers/gpu/drm/amd/display/dc/hwss/dcn50/dcn50_hwseq.c"
    },
    {
      "type": "modify",
      "old_id": "72c2d3ca52f63794e90e43959698442b12f1e87b",
      "old_mode": 33188,
      "old_path": "drivers/gpu/drm/amd/display/dc/hwss/dcn60/dcn60_hwseq.c",
      "new_id": "61ad6efa7a7456f3c6a50df4973c81e2967dfb39",
      "new_mode": 33188,
      "new_path": "drivers/gpu/drm/amd/display/dc/hwss/dcn60/dcn60_hwseq.c"
    }
  ]
}
