diff options
author | Corentin Labbe <clabbe@baylibre.com> | 2018-07-17 10:49:35 +0000 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2018-07-24 09:44:24 -0700 |
commit | 04ba9488199e3ee9971769cee585ec6847013ed2 (patch) | |
tree | a79d4799ca8bdb24e80c10ed486c203ddc594352 /drivers/ata/libahci.c | |
parent | 1ecd34ddf63ef1d4015da5e5de6881e6845a6b0a (diff) | |
download | linux-04ba9488199e3ee9971769cee585ec6847013ed2.tar.bz2 |
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/libahci.c')
0 files changed, 0 insertions, 0 deletions