From 8c294423184969fca1784e4044b4f2f13e950438 Mon Sep 17 00:00:00 2001 From: jsg Date: Thu, 20 Jul 2023 08:16:21 +0000 Subject: [PATCH] drm: use mgr->dev in drm_dbg_kms in drm_dp_add_payload_part2 From Jeff Layton 9f12effd40d7a3bc92cc4961f1cab1459c3dc520 in linux-6.1.y/6.1.39 54d217406afe250d7a768783baaa79a035f21d38 in mainline linux --- sys/dev/pci/drm/display/drm_dp_mst_topology.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/pci/drm/display/drm_dp_mst_topology.c b/sys/dev/pci/drm/display/drm_dp_mst_topology.c index 0a59cd7198b..3c233f5097b 100644 --- a/sys/dev/pci/drm/display/drm_dp_mst_topology.c +++ b/sys/dev/pci/drm/display/drm_dp_mst_topology.c @@ -3414,7 +3414,7 @@ int drm_dp_add_payload_part2(struct drm_dp_mst_topology_mgr *mgr, /* Skip failed payloads */ if (payload->vc_start_slot == -1) { - drm_dbg_kms(state->dev, "Part 1 of payload creation for %s failed, skipping part 2\n", + drm_dbg_kms(mgr->dev, "Part 1 of payload creation for %s failed, skipping part 2\n", payload->port->connector->name); return -EIO; } -- 2.20.1