summaryrefslogtreecommitdiff
path: root/drivers/ata/libata-core.c
diff options
context:
space:
mode:
authorCorentin Labbe <clabbe@baylibre.com>2018-07-17 10:49:35 +0000
committerTejun Heo <tj@kernel.org>2018-07-24 09:44:24 -0700
commit04ba9488199e3ee9971769cee585ec6847013ed2 (patch)
treea79d4799ca8bdb24e80c10ed486c203ddc594352 /drivers/ata/libata-core.c
parent1ecd34ddf63ef1d4015da5e5de6881e6845a6b0a (diff)
Revert "ata: ahci_platform: convert kcalloc to devm_kcalloc"
Since ahci_platform_put_resources() use target_pwrs after "devm_" freed it, we cannot use devm_kcalloc for allocating target_pwrs. This reverts commit bd0038b1b4f499d814d8f33a55b1df5ea6cf3b85. Reported-and-reviwed-by: Mikko Perttunen <mperttunen@nvidia.com> Tested-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Signed-off-by: Corentin Labbe <clabbe@baylibre.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata/libata-core.c')
0 files changed, 0 insertions, 0 deletions