diff options
author | Shuah Khan <[email protected]> | 2013-05-08 01:14:32 +0200 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2013-05-12 14:04:40 +0200 |
commit | d5e1670afe0c886d6dd92afb7a1f085f88294dc8 (patch) | |
tree | 8b149c761385bc0d7861cabc06ca06cb3017f723 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
parent | f722406faae2d073cc1d01063d1123c35425939e (diff) |
PM: Avoid calling kfree() under spinlock in dev_pm_put_subsys_data()
Fix dev_pm_put_subsys_data() so that it doesn't call kfree() under
a spinlock and make it return 1 whenever it leaves NULL
power.subsys_data (regardless of the reason).
Signed-off-by: Shuah Khan <[email protected]>
Reviewed-by: Pavel Machek <[email protected]>
Acked-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions