Re: [PATCH v2] power: fix pstate number parsing

2022-10-26 Thread Thomas Monjalon
12/10/2022 14:36, Markus Theil: > From: Markus Theil > > When converting atoi to strtol in a revision > of introducing sysfs support for turbo percentage, > a necessary check against '\n' returned by sysfs > was not introduced. > > Fixes: de254dac608e ("power: read P-state turbo percentage from

[PATCH v2] power: fix pstate number parsing

2022-10-12 Thread Markus Theil
From: Markus Theil When converting atoi to strtol in a revision of introducing sysfs support for turbo percentage, a necessary check against '\n' returned by sysfs was not introduced. Fixes: de254dac608e ("power: read P-state turbo percentage from sysfs") Reviewed-by: Reshma Pattan Acked-by: Re