Re: [PATCH] drm/exynos/gem: Drop extra "0x" prefix in front of "%pad" format

Peter Griffin <[email protected]>
Newsgroups gmane.linux.kernel,gmane.comp.video.dri.devel,gmane.linux.kernel.samsung-soc,gmane.linux.ports.arm.kernel
Message-ID <CADrjBPqVOTqfj6Xx6LMvnrVS8-gxrwh=-_XevD56Nf+ypSNhAg@mail.gmail.com>
On Mon, 3 Aug 2026 at 15:28, Chen-Yu Tsai <[email protected]> wrote:
>
> The recent size_t format string fix for exynos DRM driver left the "0x"
> prefix in front of "%pad" format around. Since the pointer format output
> already provides "0x" prefix, this ends up adding an extra prefix.
>
> Drop the redundant "0x" prefix".
>
> Fixes: 3470274dca48 ("drm/exynos: fix size_t format string")
> Signed-off-by: Chen-Yu Tsai <[email protected]>
> ---

Reviewed-by: Peter Griffin <[email protected]>

>  drivers/gpu/drm/exynos/exynos_drm_gem.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/exynos/exynos_drm_gem.c b/drivers/gpu/drm/exynos/exynos_drm_gem.c
> index 0208c9259572..acb8def747de 100644
> --- a/drivers/gpu/drm/exynos/exynos_drm_gem.c
> +++ b/drivers/gpu/drm/exynos/exynos_drm_gem.c
> @@ -80,7 +80,7 @@ static void exynos_drm_free_buf(struct exynos_drm_gem *exynos_gem)
>                 return;
>         }
>
> -       DRM_DEV_DEBUG_KMS(dev->dev, "dma_addr(0x%pad), size(0x%zx)\n",
> +       DRM_DEV_DEBUG_KMS(dev->dev, "dma_addr(%pad), size(0x%zx)\n",
>                           &exynos_gem->dma_addr, exynos_gem->base.size);
>
>         dma_free_attrs(drm_dev_dma_dev(dev), exynos_gem->base.size, exynos_gem->cookie,
> --
> 2.55.0.571.g244d577d93-goog
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.