diff options
author | Siddharth Vadapalli <s-vadapalli@ti.com> | 2024-06-02 03:33:19 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2024-06-11 19:40:44 +0200 |
commit | ba27e9d2207784da748b19170a2e56bd7770bd81 (patch) | |
tree | e590093735a7979fbcc48288fc08cc942166c203 /.rustfmt.toml | |
parent | dmaengine: idxd: Fix possible Use-After-Free in irq_process_work_list (diff) | |
download | linux-ba27e9d2207784da748b19170a2e56bd7770bd81.tar.xz linux-ba27e9d2207784da748b19170a2e56bd7770bd81.zip |
dmaengine: ti: k3-udma-glue: Fix of_k3_udma_glue_parse_chn_by_id()
The of_k3_udma_glue_parse_chn_by_id() helper function erroneously
invokes "of_node_put()" on the "udmax_np" device-node passed to it,
without having incremented its reference count at any point. Fix it.
Fixes: 81a1f90f20af ("dmaengine: ti: k3-udma-glue: Add function to parse channel by ID")
Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@gmail.com>
Acked-by: Peter Ujfalusi@gmail.com
Link: https://lore.kernel.org/r/20240602013319.2975894-1-s-vadapalli@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to '.rustfmt.toml')
0 files changed, 0 insertions, 0 deletions