From 28fbc819498c44e53925ec77628ed34c6c11ebbc Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Wed, 11 Dec 2024 19:58:36 +0800 Subject: [PATCH] drm/rockchip: logo: Fix typo in error message Change-Id: I136d46293d1efc28472869da95a3aa42e69243b2 Signed-off-by: Tao Huang --- drivers/gpu/drm/rockchip/rockchip_drm_logo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_logo.c b/drivers/gpu/drm/rockchip/rockchip_drm_logo.c index ab02bf800c34..b33fff364592 100644 --- a/drivers/gpu/drm/rockchip/rockchip_drm_logo.c +++ b/drivers/gpu/drm/rockchip/rockchip_drm_logo.c @@ -266,7 +266,7 @@ static int init_loader_memory(struct drm_device *drm_dev) if (!size) return -ENOMEM; if (!IS_ALIGNED(res.start, PAGE_SIZE) || !IS_ALIGNED(size, PAGE_SIZE)) - DRM_ERROR("Reserved logo memory should be aligned as:0x%lx, cureent is:start[%pad] size[%pad]\n", + DRM_ERROR("Reserved logo memory should be aligned as:0x%lx, current is:start[%pad] size[%pad]\n", PAGE_SIZE, &res.start, &size); if (pg_size != PAGE_SIZE) DRM_WARN("iommu page size[0x%x] isn't equal to OS page size[0x%lx]\n", pg_size, PAGE_SIZE); @@ -311,7 +311,7 @@ static int init_loader_memory(struct drm_device *drm_dev) if (!size) return 0; if (!IS_ALIGNED(res.start, PAGE_SIZE) || !IS_ALIGNED(size, PAGE_SIZE)) - DRM_ERROR("Reserved drm cubic memory should be aligned as:0x%lx, cureent is:start[%pad] size[%pad]\n", + DRM_ERROR("Reserved drm cubic memory should be aligned as:0x%lx, current is:start[%pad] size[%pad]\n", PAGE_SIZE, &res.start, &size); private->cubic_lut_kvaddr = phys_to_virt(start);