Re: [PATCH] drm/v3d: Fix null pointer dereference of pointer perfmon
From: Juan A.
Date: Mon Apr 25 2022 - 03:10:31 EST
On Sun, 2022-04-24 at 19:35 +0100, Colin Ian King wrote:
> In the unlikely event that pointer perfmon is null the WARN_ON return
> occurs after the pointer has already been deferenced. Fix this by
> dereferencing perfmon after it has been null checked.
Reviewed-by: Juan A. Suarez <jasuarez@xxxxxxxxxx>