drm/mediatek: fix potential OF node use-after-free
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | drm/mediatek: fix potential OF node use-after-freedrivers/ | +5 | 1 reply | |
| 2/2 | drm/mediatek: clean up driver data initialisationdrivers/ | +4 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | CK Hu | AngeloGioacchino Del Regno |
|---|---|---|
| Series | R-b | |
| 1/2 | R-b | |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] drm/mediatek: fix potential OF node use-after-free
A recent change (included in the drm pull request for 6.17-rc4) fixed a device reference leak but also introduced a potential OF node use-after-free.
This series fixes the new OF node reference imbalance and drops the unnecessary gotos introduced by the broken fix, effectively reverting that change in favour of the minimal fix I had previously posted here:
https://lore.kernel.org/lkml/[email protected]/
These should go into 6.17 which (soon) has the broken fix, which was also marked for stable backport.
Johan
Johan Hovold (2):
drm/mediatek: fix potential OF node use-after-free drm/mediatek: clean up driver data initialisation
drivers/gpu/drm/mediatek/mtk_drm_drv.c | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-)
Signature · 1 line
2.49.1