From: kbuild test robot <fengguang.wu@intel.com>
To: Sasha Levin <sasha.levin@oracle.com>
Cc: Linux Memory Management List <linux-mm@kvack.org>,
Andrew Morton <akpm@linux-foundation.org>,
Mark Brown <broonie@sirena.org.uk>,
kbuild-all@01.org
Subject: [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: Tue, 02 Sep 2014 11:32:13 +0800 [thread overview]
Message-ID: <54053a3d.W7Lf0ZQMGeHXkMg+%fengguang.wu@intel.com> (raw)
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>
reply other threads:[~2014-09-02 3:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54053a3d.W7Lf0ZQMGeHXkMg+%fengguang.wu@intel.com \
--to=fengguang.wu@intel.com \
--cc=akpm@linux-foundation.org \
--cc=broonie@sirena.org.uk \
--cc=kbuild-all@01.org \
--cc=linux-mm@kvack.org \
--cc=sasha.levin@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox