diff options
author | Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> | 2022-03-14 15:08:55 -0700 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2022-03-16 19:36:10 +0100 |
commit | 668f69a5f863b877bc3ae129efe9a80b6f055141 (patch) | |
tree | e1ee2c198b59939f1ca2ba4d3cbb25efb06982b8 /drivers/thermal/intel/int340x_thermal/int3400_thermal.c | |
parent | ec52cd3fa1708e8d573905250f097c21f909bb07 (diff) | |
download | linux-668f69a5f863b877bc3ae129efe9a80b6f055141.tar.bz2 |
thermal: int340x: Increase bitmap size
The number of policies are 10, so can't be supported by the bitmap size
of u8.
Even though there are no platfoms with these many policies, but
for correctness increase to u32.
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Fixes: 16fc8eca1975 ("thermal/int340x_thermal: Add additional UUIDs")
Cc: 5.1+ <stable@vger.kernel.org> # 5.1+
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/thermal/intel/int340x_thermal/int3400_thermal.c')
-rw-r--r-- | drivers/thermal/intel/int340x_thermal/int3400_thermal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/intel/int340x_thermal/int3400_thermal.c b/drivers/thermal/intel/int340x_thermal/int3400_thermal.c index 6067bb0e75b4..a0b599100106 100644 --- a/drivers/thermal/intel/int340x_thermal/int3400_thermal.c +++ b/drivers/thermal/intel/int340x_thermal/int3400_thermal.c @@ -53,7 +53,7 @@ struct int3400_thermal_priv { struct art *arts; int trt_count; struct trt *trts; - u8 uuid_bitmap; + u32 uuid_bitmap; int rel_misc_dev_res; int current_uuid_index; char *data_vault; |