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

Markus Elfring Markus.Elfring at web.de
Tue Feb 11 07:55:46 UTC 2025


…
> 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


More information about the dri-devel mailing list