diff options
author | Tony Luck <tony.luck@intel.com> | 2011-01-12 14:02:43 -0500 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2011-01-12 14:02:43 -0500 |
commit | dff0092bcdb7b21ba2e862fed7c92e79dfb26806 (patch) | |
tree | 215d317488c058842e703e0fb52960a338e03b2c /arch/ia64 | |
parent | 5b2eef966cb2ae307aa4ef1767f7307774bc96ca (diff) |
[IA64] Fix format warning in arch/ia64/kernel/acpi.c
arch/ia64/kernel/acpi.c:481: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long unsigned int’
Introduced by commit 05f2f274c8a8747bbfb13ac8ee0c27d5f2ad8510
[IA64] Avoid array overflow if there are too many cpus in SRAT table
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64')
-rw-r--r-- | arch/ia64/kernel/acpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/kernel/acpi.c b/arch/ia64/kernel/acpi.c index 7b897b7b0ae6..90ebceb899a0 100644 --- a/arch/ia64/kernel/acpi.c +++ b/arch/ia64/kernel/acpi.c | |||
@@ -479,7 +479,7 @@ acpi_numa_processor_affinity_init(struct acpi_srat_cpu_affinity *pa) | |||
479 | 479 | ||
480 | if (srat_num_cpus >= ARRAY_SIZE(node_cpuid)) { | 480 | if (srat_num_cpus >= ARRAY_SIZE(node_cpuid)) { |
481 | printk_once(KERN_WARNING | 481 | printk_once(KERN_WARNING |
482 | "node_cpuid[%d] is too small, may not be able to use all cpus\n", | 482 | "node_cpuid[%ld] is too small, may not be able to use all cpus\n", |
483 | ARRAY_SIZE(node_cpuid)); | 483 | ARRAY_SIZE(node_cpuid)); |
484 | return; | 484 | return; |
485 | } | 485 | } |