Commit cc328c9e authored by Nirmoy Das's avatar Nirmoy Das Committed by Gwan-gyeong Mun

drm/i915: Use "%zu" to format size_t

Switch to %zu for printing size_t which will
fix compilation warning for 32-bit build.
Reported-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarNirmoy Das <nirmoy.das@intel.com>
Reviewed-by: default avatarGwan-gyeong Mun <gwan-gyeong.mun@intel.com>
Reviewed-by: default avatarAndi Shyti <andi.shyti@linux.intel.com>
Signed-off-by: default avatarGwan-gyeong Mun <gwan-gyeong.mun@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221230183500.20553-1-nirmoy.das@intel.com
parent fd3cdd93
......@@ -238,7 +238,7 @@ static int shmem_get_pages(struct drm_i915_gem_object *obj)
goto rebuild_st;
} else {
dev_warn(i915->drm.dev,
"Failed to DMA remap %lu pages\n",
"Failed to DMA remap %zu pages\n",
obj->base.size >> PAGE_SHIFT);
goto err_pages;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment