mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +09:00
drm/rockchip: logo: Fix typo in error message
Change-Id: I136d46293d1efc28472869da95a3aa42e69243b2 Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user