]> git.ipfire.org Git - thirdparty/linux.git/blobdiff - drivers/thermal/intel/int340x_thermal/int3400_thermal.c
Merge tag 'thermal-v5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thermal...
[thirdparty/linux.git] / drivers / thermal / intel / int340x_thermal / int3400_thermal.c
index 6cad15eb9cf41136e5a2f8112a4070d569e36de7..ceef89c956bd42bf94f8bda78709f44466838558 100644 (file)
@@ -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 += scnprintf(&buf[length],
                                                   PAGE_SIZE - length,
                                                   "%s\n",
                                                   int3400_thermal_uuids[i]);