ACPI: PCC: Fix unintentional integer overflow
authorManank Patel <pmanank200502@gmail.com>
Mon, 17 Oct 2022 18:43:39 +0000 (00:13 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 26 Oct 2022 11:33:31 +0000 (13:33 +0200)
commit8338b74a750c534c223e8943cc0ed0e198ece261
tree9aa90ac86cb6eb3c0ae8c43ccb47da7e4c058eac
parent247f34f7b80357943234f93f247a1ae6b6c3a740
ACPI: PCC: Fix unintentional integer overflow

Fix an unintentional u32 overflow by changing PCC_CMD_WAIT_RETRIES_NUM
to 500ULL.

Fixes: 91cefefb6991 ("ACPI: PCC: replace wait_for_completion()")
Signed-off-by: Manank Patel <pmanank200502@gmail.com>
Acked-by: Sudeep Holla <sudeep.holla@arm.com>
Acked-by: Huisong Li <lihuisong@huawei.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpi_pcc.c