linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [mmotm:master 446/499] mm/nommu.c:97:8: warning: (near initialization for 'nommu_region_sem')
@ 2014-05-19  7:18 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2014-05-19  7:18 UTC (permalink / raw)
  To: Davidlohr Bueso
  Cc: Linux Memory Management List, Andrew Morton, Tim Chen,
	Johannes Weiner, kbuild-all

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>

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

only message in thread, other threads:[~2014-05-19  7:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-19  7:18 [mmotm:master 446/499] mm/nommu.c:97:8: warning: (near initialization for 'nommu_region_sem') 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