diff options
author | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2014-04-14 18:28:37 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-04-14 13:33:28 -0400 |
commit | 7a56c0ba266844d7b1964694c47eff2199986e83 (patch) | |
tree | 41db43f9c8f5e0c32b299645ffd77d1e46a49895 /drivers/ata/libata-scsi.c | |
parent | c9eaa447e77efe77b7fa4c953bd62de8297fd6c5 (diff) | |
download | op-kernel-dev-7a56c0ba266844d7b1964694c47eff2199986e83.zip op-kernel-dev-7a56c0ba266844d7b1964694c47eff2199986e83.tar.gz |
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>
Diffstat (limited to 'drivers/ata/libata-scsi.c')
0 files changed, 0 insertions, 0 deletions