Re: [v2] drm: xlnx: zynqmp_dpsub: Add NULL checks in zynqmp_audio_init()

From: Markus Elfring
Date: Tue Feb 11 2025 - 02:56:38 EST



> Add NULL check in zynqmp_audio_init(), to handle kernel NULL
> pointer dereference error.

* Can it be more desirable to prevent such issues?

* Would the message subject have been nicer with a key word like “PATCH”
(besides other refinements)?



> ---
> drivers/gpu/drm/xlnx/zynqmp_dp_audio.c | 4 ++++


Will you become more familiar with patch version descriptions?
https://lore.kernel.org/all/?q=%22This+looks+like+a+new+version+of+a+previously+submitted+patch%22
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.14-rc2#n310

Regards,
Markus