projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
057316c
)
intel_menlo: fix build warning
author
Len Brown
<len.brown@intel.com>
Thu, 23 Oct 2008 04:43:47 +0000
(
00:43
-0400)
committer
Len Brown
<len.brown@intel.com>
Thu, 23 Oct 2008 04:43:47 +0000
(
00:43
-0400)
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: Len Brown <len.brown@intel.com>
drivers/misc/intel_menlow.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/misc/intel_menlow.c
b/drivers/misc/intel_menlow.c
index a78274385d546f9b8c8cd74917a504f679e78452..e00a2756e97e110654387efec263855a0cd5aaa3 100644
(file)
--- a/
drivers/misc/intel_menlow.c
+++ b/
drivers/misc/intel_menlow.c
@@
-104,7
+104,7
@@
static int memory_get_cur_bandwidth(struct thermal_cooling_device *cdev,
if (ACPI_FAILURE(status))
return -EFAULT;
- return sprintf(buf, "%l
d
\n", value);
+ return sprintf(buf, "%l
lu
\n", value);
}
static int memory_set_cur_bandwidth(struct thermal_cooling_device *cdev,