Re: [PATCH] drm/bridge: panel: Prevent ERR_PTR Dereference

2023-01-02 Thread Andrzej Hajda
On 02.01.2023 13:01, Maxime Ripard wrote: Commit 5ea6b1702781 ("drm/panel: Add prepare_prev_first flag to drm_panel") introduced an access to the bridge pointer in the devm_drm_panel_bridge_add_typed() function. However, due to the unusual ERR_PTR check when getting that pointer, the pointer

Re: [PATCH] drm/bridge: panel: Prevent ERR_PTR Dereference

2023-01-02 Thread Laurent Pinchart
Hi Maxime, Thank you for the patch. On Mon, Jan 02, 2023 at 01:01:23PM +0100, Maxime Ripard wrote: > Commit 5ea6b1702781 ("drm/panel: Add prepare_prev_first flag to > drm_panel") introduced an access to the bridge pointer in the > devm_drm_panel_bridge_add_typed() function. > > However, due to t