kernel_samsung_a53x/drivers/gpu/drm/msm
Sherry Yang d79cc74edb drm/msm: fix %s null argument error
[ Upstream commit 25b85075150fe8adddb096db8a4b950353045ee1 ]

The following build error was triggered because of NULL string argument:

BUILDSTDERR: drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c: In function 'mdp5_smp_dump':
BUILDSTDERR: drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c:352:51: error: '%s' directive argument is null [-Werror=format-overflow=]
BUILDSTDERR:   352 |                         drm_printf(p, "%s:%d\t%d\t%s\n",
BUILDSTDERR:       |                                                   ^~
BUILDSTDERR: drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c:352:51: error: '%s' directive argument is null [-Werror=format-overflow=]

This happens from the commit a61ddb4393ad ("drm: enable (most) W=1
warnings by default across the subsystem"). Using "(null)" instead
to fix it.

Fixes: bc5289eed481 ("drm/msm/mdp5: add debugfs to show smp block status")
Signed-off-by: Sherry Yang <sherry.yang@oracle.com>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/611071/
Link: https://lore.kernel.org/r/20240827165337.1075904-1-sherry.yang@oracle.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-23 23:21:22 +01:00
..
adreno drm/msm/a5xx: workaround early ring-buffer emptiness check 2024-11-23 23:21:22 +01:00
disp drm/msm: fix %s null argument error 2024-11-23 23:21:22 +01:00
dp drm/msm/dp: reset the link phy params before link training 2024-11-23 23:20:49 +01:00
dsi drm/msm/dsi: Enable runtime PM 2024-11-18 12:13:40 +01:00
edp Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hdmi Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_atomic.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_atomic_trace.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_atomic_tracepoints.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_debugfs.c drm/msm: Add priv->mm_lock to protect active/inactive lists 2024-11-23 23:21:22 +01:00
msm_debugfs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_drv.c drm/msm: Drop priv->lastctx 2024-11-23 23:21:22 +01:00
msm_drv.h drm/msm: Drop priv->lastctx 2024-11-23 23:21:22 +01:00
msm_fb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_fbdev.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_fence.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_fence.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_gem.c drm/msm: Add priv->mm_lock to protect active/inactive lists 2024-11-23 23:21:22 +01:00
msm_gem.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_gem_prime.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_gem_shrinker.c drm/msm: Add priv->mm_lock to protect active/inactive lists 2024-11-23 23:21:22 +01:00
msm_gem_submit.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_gem_vma.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_gpu.c drm/msm: Drop priv->lastctx 2024-11-23 23:21:22 +01:00
msm_gpu.h drm/msm: Drop priv->lastctx 2024-11-23 23:21:22 +01:00
msm_gpu_trace.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_gpu_tracepoints.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_gpummu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_iommu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_kms.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_mmu.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_perf.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_rd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_ringbuffer.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_ringbuffer.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_submitqueue.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
NOTES Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00