Re: (subset) [PATCH] drm: vc4: Fix possible null pointer dereference

2024-04-15 Thread Maxime Ripard
On Tue, 09 Apr 2024 10:56:22 +0300, Aleksandr Mishin wrote: > In vc4_hdmi_audio_init() of_get_address() may return > NULL which is later dereferenced. Fix this bug by adding NULL check. > > Found by Linux Verification Center (linuxtesting.org) with SVACE. > > Applied to misc/kernel.git (drm-mis

[PATCH] drm: vc4: Fix possible null pointer dereference

2024-04-09 Thread Aleksandr Mishin
In vc4_hdmi_audio_init() of_get_address() may return NULL which is later dereferenced. Fix this bug by adding NULL check. Found by Linux Verification Center (linuxtesting.org) with SVACE. Fixes: bb7d78568814 ("drm/vc4: Add HDMI audio support") Signed-off-by: Aleksandr Mishin --- drivers/gpu/drm