ACPI: platform-profile: Fix possible deadlock in platform_profile_remove()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 patch 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | ACPI: platform-profile: Fix possible deadlock in platform_profile_remove()drivers/ | +2 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/1] ACPI: platform-profile: Fix possible deadlock in platform_profile_remove()
Hi Rafael,
Sorry for throwing another patch into the mix for the acpi-platform branch. I always build my local kernels with lockdep enabled and while testing an unrelated acpi_thinkpad patch I did "rmmod acpi_thinkpad" and lockdep pointed out this potential deadlock.
The fix is simple enough, although it does rely on the assumption that drivers will only call platform_profile_remove() after they have first successfully called platform_profile_register().
See the actual patch for more details.
Regards,
Hans
Hans de Goede (1):
ACPI: platform-profile: Fix possible deadlock in platform_profile_remove()
drivers/acpi/platform_profile.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-)