]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm/amd/display: Fix spelling mistakes of function name in error message
authorColin Ian King <colin.i.king@gmail.com>
Thu, 9 Feb 2023 12:53:30 +0000 (12:53 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 9 Feb 2023 15:04:49 +0000 (10:04 -0500)
The function name is being reported as dc_link_contruct when it is
actually dc_link_construct_phy. Fix this by using %s and the __func__
for the function name.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/link/link_factory.c

index 13a76627375505a708e08e543efd29b7db46a69e..f5926467bce56dadc0a7d10cb0946bd92a5cae3c 100644 (file)
@@ -452,7 +452,7 @@ static bool dc_link_construct_phy(struct dc_link *link,
        link->psr_settings.psr_vtotal_control_support = false;
        link->psr_settings.psr_version = DC_PSR_VERSION_UNSUPPORTED;
 
-       DC_LOG_DC("BIOS object table - dc_link_contruct finished successfully.\n");
+       DC_LOG_DC("BIOS object table - %s finished successfully.\n", __func__);
        return true;
 device_tag_fail:
        link->link_enc->funcs->destroy(&link->link_enc);
@@ -469,7 +469,7 @@ create_fail:
                link->hpd_gpio = NULL;
        }
 
-       DC_LOG_DC("BIOS object table - dc_link_contruct failed.\n");
+       DC_LOG_DC("BIOS object table - %s failed.\n", __func__);
        return false;
 }