Files
linux-stable-mirror/drivers/ata
Joe Hattori 2267180718 ata: sata_highbank: fix OF node reference leak in highbank_initialize_phys()
commit 676fe1f6f7 upstream.

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: 8996b89d6b ("ata: add platform driver for Calxeda AHCI controller")
Signed-off-by: Joe Hattori <joe@pf.is.s.u-tokyo.ac.jp>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-12-19 18:13:03 +01:00
..
2023-08-02 17:37:06 +09:00
2023-08-02 17:37:06 +09:00