Răsfoiți Sursa

[MIPS] Jazz: Fix warning.

arch/mips/jazz/jazzdma.c:70: warning: assignment makes integer from pointer without a cast

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle 18 ani în urmă
părinte
comite
bf9f88a219
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  1. 2 1
      arch/mips/jazz/jazzdma.c

+ 2 - 1
arch/mips/jazz/jazzdma.c

@@ -67,7 +67,8 @@ void __init vdma_init(void)
 	 * aligned and should be uncached to avoid cache flushing after every
 	 * update.
 	 */
-	vdma_pagetable_start = alloc_bootmem_low_pages(VDMA_PGTBL_SIZE);
+	vdma_pagetable_start =
+		(unsigned long) alloc_bootmem_low_pages(VDMA_PGTBL_SIZE);
 	if (!vdma_pagetable_start)
 		BUG();
 	dma_cache_wback_inv(vdma_pagetable_start, VDMA_PGTBL_SIZE);