Re: [PATCH] drm/meson: add check to prevent dereference of NULL

2024-08-16 Thread Martin Blumenstingl
Hello Anastasia, On Mon, Aug 12, 2024 at 11:32 AM Anastasia Belova wrote: [...] > > As an alternative to your suggested approach: could you please look > > into whether devm_drm_dev_alloc() is a suitable replacement (if not: > > just explain why - then this patch is good to be merged)? > > If I u

Re: [PATCH] drm/meson: add check to prevent dereference of NULL

2024-08-12 Thread Anastasia Belova
Hello Martin, 10/08/24 12:09, Martin Blumenstingl пишет: Hello Anastasia, Thank you for working on this! On Fri, Aug 9, 2024 at 2:48 PM Anastasia Belova wrote: [...] @@ -373,9 +373,11 @@ static int meson_drv_bind_master(struct device *dev, bool has_components) free_drm: drm_dev_

Re: [PATCH] drm/meson: add check to prevent dereference of NULL

2024-08-10 Thread Martin Blumenstingl
Hello Anastasia, Thank you for working on this! On Fri, Aug 9, 2024 at 2:48 PM Anastasia Belova wrote: [...] > @@ -373,9 +373,11 @@ static int meson_drv_bind_master(struct device *dev, > bool has_components) > free_drm: > drm_dev_put(drm); > > - meson_encoder_dsi_remove(priv); >