drm: use mgr->dev in drm_dbg_kms in drm_dp_add_payload_part2
authorjsg <jsg@openbsd.org>
Thu, 20 Jul 2023 08:16:21 +0000 (08:16 +0000)
committerjsg <jsg@openbsd.org>
Thu, 20 Jul 2023 08:16:21 +0000 (08:16 +0000)
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

index 0a59cd7..3c233f5 100644 (file)
@@ -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;
        }