From: Bartlomiej Zolnierkiewicz Date: Mon, 14 Apr 2014 16:28:37 +0000 (+0200) Subject: pata_octeon_cf: use devm_kzalloc() to allocate cf_port X-Git-Tag: omap-for-v3.16/fixes-against-rc1~82^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a56c0ba266844d7b1964694c47eff2199986e83;p=pandora-kernel.git 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 Cc: David Daney Suggested-by: Guenter Roeck Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Tejun Heo --- Reading git-diff-tree failed