[next:master 2850/2956] mm/page_alloc.c:6739:3: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'long long unsigned int'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   03af78748485f63e8ed21d2e2585b5d1ec862ba6
commit: 658f7da49d34bc6187e6cd1ec57933d1a2a76035 [2850/2956] mm: introduce dump_vma
config: make ARCH=sh apsh4ad0a_defconfig

All warnings:

   mm/page_alloc.c: In function 'dump_vma':
>> mm/page_alloc.c:6739:3: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'long long unsigned int' [-Wformat]
   mm/page_alloc.c: In function 'free_area_init_nodes':
   mm/page_alloc.c:5362:34: warning: array subscript is below array bounds [-Warray-bounds]

vim +6739 mm/page_alloc.c

  6723		{VM_MIXEDMAP,			"mixedmap"	},
  6724		{VM_HUGEPAGE,			"hugepage"	},
  6725		{VM_NOHUGEPAGE,			"nohugepage"	},
  6726		{VM_MERGEABLE,			"mergeable"	},
  6727	};
  6728	
  6729	void dump_vma(const struct vm_area_struct *vma)
  6730	{
  6731		printk(KERN_ALERT
  6732			"vma %p start %p end %p\n"
  6733			"next %p prev %p mm %p\n"
  6734			"prot %lx anon_vma %p vm_ops %p\n"
  6735			"pgoff %lx file %p private_data %p\n",
  6736			vma, (void *)vma->vm_start, (void *)vma->vm_end, vma->vm_next,
  6737			vma->vm_prev, vma->vm_mm, vma->vm_page_prot.pgprot,
  6738			vma->anon_vma, vma->vm_ops, vma->vm_pgoff,
> 6739			vma->vm_file, vma->vm_private_data);
  6740		dump_flags(vma->vm_flags, vmaflags_names, ARRAY_SIZE(vmaflags_names));
  6741	}
  6742	EXPORT_SYMBOL(dump_vma);

---
0-DAY kernel build testing backend              Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild                 Intel Corporation

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]