Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eb83f493 authored by Len Brown's avatar Len Brown
Browse files

intel_menlo: fix build warning



drivers/misc/intel_menlow.c:107: warning: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘long long unsigned int’

Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 057316cc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -104,7 +104,7 @@ static int memory_get_cur_bandwidth(struct thermal_cooling_device *cdev,
	if (ACPI_FAILURE(status))
		return -EFAULT;

	return sprintf(buf, "%ld\n", value);
	return sprintf(buf, "%llu\n", value);
}

static int memory_set_cur_bandwidth(struct thermal_cooling_device *cdev,