mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-29 23:53:32 +00:00
thermal: int340x: Increase bitmap size
commit668f69a5f8
upstream. 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:16fc8eca19
("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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f6292deb88
commit
36618afe4f
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ struct int3400_thermal_priv {
|
||||||
struct art *arts;
|
struct art *arts;
|
||||||
int trt_count;
|
int trt_count;
|
||||||
struct trt *trts;
|
struct trt *trts;
|
||||||
u8 uuid_bitmap;
|
u32 uuid_bitmap;
|
||||||
int rel_misc_dev_res;
|
int rel_misc_dev_res;
|
||||||
int current_uuid_index;
|
int current_uuid_index;
|
||||||
char *data_vault;
|
char *data_vault;
|
||||||
|
|
Loading…
Reference in a new issue