aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorMiaoqian Lin <[email protected]>2022-06-01 12:59:26 +0400
committerDamien Le Moal <[email protected]>2022-06-06 09:52:17 +0900
commit10d6bdf532902be1d8aa5900b3c03c5671612aa2 (patch)
tree409fe9e4dd1e00bea1c7db8e67fefd40d8a33579 /lib/mpi/mpi-mod.c
parentbf476fe22aa1851bab4728e0c49025a6a0bea307 (diff)
ata: pata_octeon_cf: Fix refcount leak in octeon_cf_probe
of_find_device_by_node() takes reference, we should use put_device() to release it when not need anymore. Add missing put_device() to avoid refcount leak. Fixes: 43f01da0f279 ("MIPS/OCTEON/ata: Convert pata_octeon_cf.c to use device tree.") Signed-off-by: Miaoqian Lin <[email protected]> Reviewed-by: Sergey Shtylyov <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions