projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'thermal-v5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thermal...
[platform/kernel/linux-starfive.git]
/
drivers
/
thermal
/
intel
/
int340x_thermal
/
int3400_thermal.c
diff --git
a/drivers/thermal/intel/int340x_thermal/int3400_thermal.c
b/drivers/thermal/intel/int340x_thermal/int3400_thermal.c
index
6cad15e
..
ceef89c
100644
(file)
--- a/
drivers/thermal/intel/int340x_thermal/int3400_thermal.c
+++ b/
drivers/thermal/intel/int340x_thermal/int3400_thermal.c
@@
-65,7
+65,7
@@
static ssize_t available_uuids_show(struct device *dev,
for (i = 0; i < INT3400_THERMAL_MAXIMUM_UUID; i++) {
if (priv->uuid_bitmap & (1 << i))
if (PAGE_SIZE - length > 0)
- length += snprintf(&buf[length],
+ length += s
c
nprintf(&buf[length],
PAGE_SIZE - length,
"%s\n",
int3400_thermal_uuids[i]);