Re: [PATCH v1 00/10] cpufreq: cpufreq_update_limits() fix and some cleanups

From: Mario Limonciello
Date: Tue Apr 01 2025 - 12:58:05 EST


On 3/28/2025 3:36 PM, Rafael J. Wysocki wrote:
Hi Everyone,

This series of patches consists of a fix for a possible (and actually happening
in some cases) NULL pointer dereference in cpufreq_update_limits() (patch
[01/10]) and a bunch of tangentially related fixes inspired by it, mostly about
using __free() for cleanup and locking guards.

The first patch is definitely for 6.15, but the rest is rather 6.16 material.

Please refer to the individual patch changelogs for more information.

Thanks!




It's a great set of cleanups, makes the code a lot easier to follow.

For the series:

Reviewed-by: Mario Limonciello <mario.limonciello@xxxxxxx>