diff options
author | Denis V. Lunev <den@openvz.org> | 2008-07-17 14:11:17 -0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2008-07-17 14:11:17 -0400 |
commit | 60192db82952ad56ef7bbc4a318e2041ca65ba7d (patch) | |
tree | f8879d485f4e7c393c519d4ae59b13df3c9d99cc /arch/ia64/kernel/cpufreq | |
parent | fca515fbfa5ecd9f7b54db311317e2c877d7831a (diff) |
[IA64] improper printk format in acpi-cpufreq
When dprintk is enabled the following warnings are generated:
arch/ia64/kernel/cpufreq/acpi-cpufreq.c: In function 'processor_set_pstate':
arch/ia64/kernel/cpufreq/acpi-cpufreq.c:54: warning: format '%x' expects type 'unsigned int', but argumen
t 3 has type 's64'
arch/ia64/kernel/cpufreq/acpi-cpufreq.c: In function 'processor_get_pstate':
arch/ia64/kernel/cpufreq/acpi-cpufreq.c:76: warning: format '%x' expects type 'unsigned int', but argumen
t 2 has type 's64'
Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/kernel/cpufreq')
-rw-r--r-- | arch/ia64/kernel/cpufreq/acpi-cpufreq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ia64/kernel/cpufreq/acpi-cpufreq.c b/arch/ia64/kernel/cpufreq/acpi-cpufreq.c index b8498ea62068..7b435451b3dc 100644 --- a/arch/ia64/kernel/cpufreq/acpi-cpufreq.c +++ b/arch/ia64/kernel/cpufreq/acpi-cpufreq.c | |||
@@ -51,7 +51,7 @@ processor_set_pstate ( | |||
51 | retval = ia64_pal_set_pstate((u64)value); | 51 | retval = ia64_pal_set_pstate((u64)value); |
52 | 52 | ||
53 | if (retval) { | 53 | if (retval) { |
54 | dprintk("Failed to set freq to 0x%x, with error 0x%x\n", | 54 | dprintk("Failed to set freq to 0x%x, with error 0x%lx\n", |
55 | value, retval); | 55 | value, retval); |
56 | return -ENODEV; | 56 | return -ENODEV; |
57 | } | 57 | } |
@@ -74,7 +74,7 @@ processor_get_pstate ( | |||
74 | 74 | ||
75 | if (retval) | 75 | if (retval) |
76 | dprintk("Failed to get current freq with " | 76 | dprintk("Failed to get current freq with " |
77 | "error 0x%x, idx 0x%x\n", retval, *value); | 77 | "error 0x%lx, idx 0x%x\n", retval, *value); |
78 | 78 | ||
79 | return (int)retval; | 79 | return (int)retval; |
80 | } | 80 | } |