Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/dp_mst: Add missing drm parameters to recently added call to drm_dbg_kms()

Commit 3769e4c0af5b ("drm/dp_mst: Avoid to mess up payload table by
ports in stale topology") added to calls to drm_dbg_kms() but it
missed the first parameter, the drm device breaking the build.

Fixes: 3769e4c0af5b ("drm/dp_mst: Avoid to mess up payload table by ports in stale topology")
Cc: Wayne Lin <Wayne.Lin@amd.com>
Cc: Lyude Paul <lyude@redhat.com>
Cc: dri-devel@lists.freedesktop.org
Cc: stable@vger.kernel.org
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210616194415.36926-1-jose.souza@intel.com

authored by

José Roberto de Souza and committed by
Lyude Paul
24ff3dc1 3769e4c0

+5 -2
+5 -2
drivers/gpu/drm/drm_dp_mst_topology.c
··· 3389 3389 mutex_unlock(&mgr->lock); 3390 3390 3391 3391 if (skip) { 3392 - drm_dbg_kms("Virtual channel %d is not in current topology\n", i); 3392 + drm_dbg_kms(mgr->dev, 3393 + "Virtual channel %d is not in current topology\n", 3394 + i); 3393 3395 continue; 3394 3396 } 3395 3397 /* Validated ports don't matter if we're releasing ··· 3406 3404 payload->start_slot = req_payload.start_slot; 3407 3405 continue; 3408 3406 } else { 3409 - drm_dbg_kms("Fail:set payload to invalid sink"); 3407 + drm_dbg_kms(mgr->dev, 3408 + "Fail:set payload to invalid sink"); 3410 3409 mutex_unlock(&mgr->payload_lock); 3411 3410 return -EINVAL; 3412 3411 }