summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorFelix Gu <ustc.gu@gmail.com>2026-03-02 17:31:44 +0300
committerBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>2026-03-04 11:16:41 +0300
commit5c3daa5301693d2e5364483a3405649a0fdaed98 (patch)
treecac5b0499468fb2b7c5c0688b19fb5bb484c7b91 /include/linux
parent11439c4635edd669ae435eec308f4ab8a0804808 (diff)
downloadlinux-5c3daa5301693d2e5364483a3405649a0fdaed98.tar.xz
power: sequencing: pcie-m2: Fix device node reference leak in probe
In pwrseq_pcie_m2_probe(), ctx->of_node acquires an explicit reference to the device node using of_node_get(), but there is no corresponding of_node_put() in the driver's error handling paths or removal. Since the ctx is tied to the lifecycle of the platform device, there is no need to hold an additional reference to the device's own of_node. Fixes: 52e7b5bd62ba ("power: sequencing: Add the Power Sequencing driver for the PCIe M.2 connectors") Signed-off-by: Felix Gu <ustc.gu@gmail.com> Link: https://patch.msgid.link/20260302-m2-v1-1-a6533e18aa69@gmail.com Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions