diff options
author | Joe Hattori <[email protected]> | 2024-12-05 19:30:14 +0900 |
---|---|---|
committer | Damien Le Moal <[email protected]> | 2024-12-09 09:06:58 +0900 |
commit | 676fe1f6f74db988191dab5df3bf256908177072 (patch) | |
tree | 2c5750b3b4d85122f8affbd5d4ff05b6334c6408 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | fac04efc5c793dccbd07e2d59af9f90b7fc0dca4 (diff) |
ata: sata_highbank: fix OF node reference leak in highbank_initialize_phys()
The OF node reference obtained by of_parse_phandle_with_args() is not
released on early return. Add a of_node_put() call before returning.
Fixes: 8996b89d6bc9 ("ata: add platform driver for Calxeda AHCI controller")
Signed-off-by: Joe Hattori <[email protected]>
Signed-off-by: Damien Le Moal <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions