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

From: Markus Elfring
Date: Sun Mar 09 2025 - 06:00:57 EST



> 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