drm/msm/dpu: make error messages at dpu_core_irq_register_callback() more sensible
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Sat, 30 Mar 2024 03:53:22 +0000 (05:53 +0200)
committerAbhinav Kumar <quic_abhinavk@quicinc.com>
Mon, 1 Apr 2024 23:02:40 +0000 (16:02 -0700)
commit8844f467d6a58dc915f241e81c46e0c126f8c070
tree889f4dce2fc1ca3574845bcabc26ff1b5549e672
parentee15c8bf5d77a306614bdefe33828310662dee05
drm/msm/dpu: make error messages at dpu_core_irq_register_callback() more sensible

There is little point in using %ps to print a value known to be NULL. On
the other hand it makes sense to print the callback symbol in the
'invalid IRQ' message. Correct those two error messages to make more
sense.

Fixes: 6893199183f8 ("drm/msm/dpu: stop using raw IRQ indices in the kernel output")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Marijn Suijten <marijn.suijten@somainline.org>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/585565/
Link: https://lore.kernel.org/r/20240330-dpu-irq-messages-v1-1-9ce782ae35f9@linaro.org
Signed-off-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c