linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [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'
@ 2014-09-02  3:32 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2014-09-02  3:32 UTC (permalink / raw)
  To: Sasha Levin
  Cc: Linux Memory Management List, Andrew Morton, Mark Brown, kbuild-all

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@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-09-02  3:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-02  3:32 [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' kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox