Title: [9758] trunk/mm/percpu.c: percpu: fix printf warning about int vs long
- Revision
- 9758
- Author
- vapier
- Date
- 2011-03-23 11:49:21 -0400 (Wed, 23 Mar 2011)
Log Message
percpu: fix printf warning about int vs long
Modified Paths
Diff
Modified: trunk/mm/percpu.c (9757 => 9758)
--- trunk/mm/percpu.c 2011-03-23 13:50:19 UTC (rev 9757)
+++ trunk/mm/percpu.c 2011-03-23 15:49:21 UTC (rev 9758)
@@ -1647,7 +1647,7 @@
if (max_distance > (VMALLOC_END - VMALLOC_START) * 3 / 4) {
pr_warning("PERCPU: max_distance=0x%zx too large for vmalloc "
"space 0x%lx\n",
- max_distance, VMALLOC_END - VMALLOC_START);
+ max_distance, (unsigned long)(VMALLOC_END - VMALLOC_START));
#ifdef CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK
/* and fail if we have fallback */
rc = -EINVAL;
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits