commit | 7a56c0ba266844d7b1964694c47eff2199986e83 | [log] [tgz] |
---|---|---|
author | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | Mon Apr 14 18:28:37 2014 +0200 |
committer | Tejun Heo <tj@kernel.org> | Mon Apr 14 13:33:28 2014 -0400 |
tree | 41db43f9c8f5e0c32b299645ffd77d1e46a49895 | |
parent | c9eaa447e77efe77b7fa4c953bd62de8297fd6c5 [diff] |
pata_octeon_cf: use devm_kzalloc() to allocate cf_port As a nice side effect this fixes the cf_port leak on dma_coerce_mask_and_coherent() or ata_host_activate() failure. Cc: Ralf Baechle <ralf@linux-mips.org> Cc: David Daney <david.daney@cavium.com> Suggested-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Signed-off-by: Tejun Heo <tj@kernel.org>