Commit 676fe1f6 authored by Joe Hattori's avatar Joe Hattori Committed by Damien Le Moal
Browse files

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: 8996b89d ("ata: add platform driver for Calxeda AHCI controller")
Signed-off-by: default avatarJoe Hattori <joe@pf.is.s.u-tokyo.ac.jp>
Signed-off-by: default avatarDamien Le Moal <dlemoal@kernel.org>
parent fac04efc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment