Skip to content

Commit 668f69a

Browse files
spandruvadarafaeljw
authored andcommitted
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: 16fc8ec ("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>
1 parent ec52cd3 commit 668f69a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/thermal/intel/int340x_thermal/int3400_thermal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ struct int3400_thermal_priv {
5353
struct art *arts;
5454
int trt_count;
5555
struct trt *trts;
56-
u8 uuid_bitmap;
56+
u32 uuid_bitmap;
5757
int rel_misc_dev_res;
5858
int current_uuid_index;
5959
char *data_vault;

0 commit comments

Comments
 (0)