linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <fengguang.wu@intel.com>
To: Davidlohr Bueso <davidlohr@hp.com>
Cc: Linux Memory Management List <linux-mm@kvack.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Tim Chen <tim.c.chen@linux.intel.com>,
	Johannes Weiner <hannes@cmpxchg.org>,
	kbuild-all@01.org
Subject: [mmotm:master 446/499] mm/nommu.c:97:8: warning: (near initialization for 'nommu_region_sem')
Date: Mon, 19 May 2014 15:18:25 +0800	[thread overview]
Message-ID: <5379b041.l+0HY3AnwO7I7qpR%fengguang.wu@intel.com> (raw)

tree:   git://git.cmpxchg.org/linux-mmotm.git master
head:   ff35dad6205c66d96feda494502753e5ed1b10f1
commit: 67039d034b422b074af336ebf8101346b6b5d441 [446/499] rwsem: Support optimistic spinning
config: make ARCH=blackfin BF561-EZKIT-SMP_defconfig

All warnings:

   mm/nommu.c:97:8: warning: excess elements in struct initializer [enabled by default]
>> mm/nommu.c:97:8: warning: (near initialization for 'nommu_region_sem') [enabled by default]
   mm/nommu.c:97:8: warning: excess elements in struct initializer [enabled by default]
>> mm/nommu.c:97:8: warning: (near initialization for 'nommu_region_sem') [enabled by default]

vim +/nommu_region_sem +97 mm/nommu.c

997071bc K. Y. Srinivasan 2012-11-15   81   * balancing memory across competing virtual machines that are hosted.
997071bc K. Y. Srinivasan 2012-11-15   82   * Several metrics drive this policy engine including the guest reported
997071bc K. Y. Srinivasan 2012-11-15   83   * memory commitment.
997071bc K. Y. Srinivasan 2012-11-15   84   */
997071bc K. Y. Srinivasan 2012-11-15   85  unsigned long vm_memory_committed(void)
997071bc K. Y. Srinivasan 2012-11-15   86  {
997071bc K. Y. Srinivasan 2012-11-15   87  	return percpu_counter_read_positive(&vm_committed_as);
997071bc K. Y. Srinivasan 2012-11-15   88  }
997071bc K. Y. Srinivasan 2012-11-15   89  
997071bc K. Y. Srinivasan 2012-11-15   90  EXPORT_SYMBOL_GPL(vm_memory_committed);
997071bc K. Y. Srinivasan 2012-11-15   91  
^1da177e Linus Torvalds   2005-04-16   92  EXPORT_SYMBOL(mem_map);
^1da177e Linus Torvalds   2005-04-16   93  
8feae131 David Howells    2009-01-08   94  /* list of mapped, potentially shareable regions */
8feae131 David Howells    2009-01-08   95  static struct kmem_cache *vm_region_jar;
8feae131 David Howells    2009-01-08   96  struct rb_root nommu_region_tree = RB_ROOT;
8feae131 David Howells    2009-01-08  @97  DECLARE_RWSEM(nommu_region_sem);
^1da177e Linus Torvalds   2005-04-16   98  
f0f37e2f Alexey Dobriyan  2009-09-27   99  const struct vm_operations_struct generic_file_vm_ops = {
^1da177e Linus Torvalds   2005-04-16  100  };
^1da177e Linus Torvalds   2005-04-16  101  
^1da177e Linus Torvalds   2005-04-16  102  /*
^1da177e Linus Torvalds   2005-04-16  103   * Return the total memory allocated for this pointer, not
^1da177e Linus Torvalds   2005-04-16  104   * just what the caller asked for.
^1da177e Linus Torvalds   2005-04-16  105   *

:::::: The code at line 97 was first introduced by commit
:::::: 8feae13110d60cc6287afabc2887366b0eb226c2 NOMMU: Make VMAs per MM as for MMU-mode linux

:::::: TO: David Howells <dhowells@redhat.com>
:::::: CC: David Howells <dhowells@redhat.com>

---
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-05-19  7:19 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=5379b041.l+0HY3AnwO7I7qpR%fengguang.wu@intel.com \
    --to=fengguang.wu@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=davidlohr@hp.com \
    --cc=hannes@cmpxchg.org \
    --cc=kbuild-all@01.org \
    --cc=linux-mm@kvack.org \
    --cc=tim.c.chen@linux.intel.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