summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2026-05-27 21:45:07 +0200
committerSimona Vetter <simona.vetter@ffwll.ch>2026-05-28 09:24:41 +0200
commit3470274dca4887e2b56684bd6a482097318d95a5 (patch)
treec29022cc70d9ef6cfad4547e554b495253d1bd00 /include/linux/timerqueue.h
parenta97a23ce3473c2323e1b63db414474b72b1c8a3b (diff)
drm/exynos: fix size_t format string
The exynos_gem->base.size argument is a size_t rather than an unsigned long, so adapt the printk() format string accordingly: In file included from drivers/gpu/drm/exynos/exynos_drm_gem.c:16: drivers/gpu/drm/exynos/exynos_drm_gem.c: In function 'exynos_drm_alloc_buf': drivers/gpu/drm/exynos/exynos_drm_gem.c:69:49: error: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Werror=format=] 69 | DRM_DEV_DEBUG_KMS(drm_dev_dma_dev(dev), "dma_addr(0x%lx), size(0x%lx)\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | (unsigned long)exynos_gem->dma_addr, exynos_gem->base.size); | ~~~~~~~~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} The dma_addr in the same line is already printed using a cast to unsigned long, so change that similarly to use the correct %pad format. Fixes: 11e898373fba ("drm/exynos: Drop exynos_drm_gem.size field") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Simona Vetter <simona.vetter@ffwll.ch> Link: https://patch.msgid.link/20260527194525.45762-1-arnd@kernel.org
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions