Thread (17 messages) 17 messages, 4 authors, 2023-07-17

Re: [PATCH v3 4/4] drm/mediatek: Fix dereference before null check

flat view

From: Alexandre Mergnat <hidden>
Date: 2023-06-21 12:38:55
Also in: dri-devel, lkml


On 21/06/2023 12:22, Jason-JH.Lin wrote:
Null-checking state suggests that it may be null, but it has already
been dereferenced on drm_atomic_get_new_plane_state(state, plane).

The parameter state will never be NULL currently, so just remove the
state is NULL flow in this function.
Reviewed-by: Alexandre Mergnat <redacted>

-- 
Regards,
Alexandre

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help