Files
linux/drivers/acpi
Pengjie Zhang f103fa127c ACPI: PCC: Fix race condition by removing static qualifier
Local variable 'ret' in acpi_pcc_address_space_setup() is currently
declared as 'static'. This can lead to race conditions in a
multithreaded environment.

Remove the 'static' qualifier to ensure that 'ret' will be allocated
directly on the stack as a local variable.

Fixes: a10b1c99e2 ("ACPI: PCC: Setup PCC Opregion handler only if platform interrupt is available")
Signed-off-by: Pengjie Zhang <[email protected]>
Reviewed-by: Sudeep Holla <[email protected]>
Acked-by: [email protected]
Cc: 6.2+ <[email protected]> # 6.2+
[ rjw: Changelog edits ]
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Rafael J. Wysocki <[email protected]>
2025-12-15 13:00:33 +01:00
..
2025-11-28 15:08:38 +01:00
2025-07-22 17:12:41 +02:00
…
…
…
…
2024-03-27 16:36:45 +01:00
…
2024-11-15 20:52:02 +01:00
…
2024-11-15 20:52:02 +01:00
…
2025-11-19 18:34:20 +00:00