[PATCH v2 2/2] drm: mxsfb: Fix NULL pointer dereference

Marek Vasut marex at denx.de
Wed Feb 2 00:30:38 PST 2022


On 2/2/22 09:17, Alexander Stein wrote:
> mxsfb should not never dereference the NULL pointer which

... not ever ... but that's really a nitpick.

> drm_atomic_get_new_bridge_state is allowed to return.
> Assume a fixed format instead.
> 
> Fixes: commit b776b0f00f24 ("drm: mxsfb: Use bus_format from the nearest bridge if present")
> Signed-off-by: Alexander Stein <alexander.stein at ew.tq-group.com>

It's perfect otherwise, thanks !



More information about the linux-arm-kernel mailing list