[PATCH v7 0/3] drm: adv7511: ADV7535 fixes

Dmitry Baryshkov dmitry.baryshkov at linaro.org
Fri Dec 20 01:57:02 UTC 2024


On Tue, 19 Nov 2024 19:20:28 +0000, Biju Das wrote:
> This patch series aims to fix 2 bugs in the ADV7535 driver
> 
> 1) use-after-free bug in adv7533_attach_dsi()
> 2) Drop unsupported single lane.
> 
> Changes in v7:
>  - Dropped check for host_node as of_node_put() is a no-op when called
>    with a NULL pointer.
>  - Added Rb tag from Laurent for patch#1.
> Changes in v6:
>  - Fixed memory leak by adding goto stattement in error path of
>    adv7511_init_regulators().
>  - Added Rb tag from Adam for patch#3.
> Changes in v5:
>  - Updated commit description for patch#1.
>  - restored host_node in struct adv7511.
>  - Dropped of_node_put() in adv7533_parse_dt() and calling of_node_put()
>    in error path of probe() and also in the remove().
> Changes in v4:
>  - Updated commit description for patch#1.
>  - Dropped host_node from struct adv7511 and instead used a local pointer
>    in probe(). Also freeing of host_node pointer after use is done in
>    probe().
>  - Added link to ADV7533 data sheet.
>  - Collected tags
> Changes in v3:
>  - Replace __free construct with readable of_node_put().
>  - Dropped single lane support from bindings and driver.
> changes in v2:
>  - Added the tag "Cc: stable at vger.kernel.org" in the sign-off area.
>  - Dropped invalid Mail address Archit Taneja <architt at codeaurora.org>.
> 
> [...]

Applied to drm-misc-fixes, thanks!

[1/3] drm: adv7511: Fix use-after-free in adv7533_attach_dsi()
      commit: 81adbd3ff21c1182e06aa02c6be0bfd9ea02d8e8
[2/3] dt-bindings: display: adi,adv7533: Drop single lane support
      commit: ee8f9ed57a397605434caeef351bafa3ec4dfdd4
[3/3] drm: adv7511: Drop dsi single lane support
      commit: 79d67c499c3f886202a40c5cb27e747e4fa4d738

Best regards,
-- 
With best wishes
Dmitry



More information about the dri-devel mailing list