[PATCH] drm/msm/dpu: reorder pointer operations after sanity checks to avoid NULL deref

Markus Elfring Markus.Elfring at web.de
Sun Mar 9 10:00:15 UTC 2025


…
> Fix this by reordering the dereference after the sanity checks.

Another wording suggestion:
Thus move the assignment of the variable “dpu_enc” behind a null pointer check.


Would an other summary phrase be nicer?

Regards,
Markus


More information about the dri-devel mailing list