lkml.org 
[lkml]   [2015]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[aa:userfault 17/19] mm/userfaultfd.c:48:6: sparse: symbol 'double_down_read' was not declared. Should it be static?
tree:   git://git.kernel.org/pub/scm/linux/kernel/git/andrea/aa.git userfault
head: 9866337e3999d167b77303ad9e57fd20919893e3
commit: e2ccdb8c9f49438f9c8910f2f93c7e5ee35d8644 [17/19] userfaultfd: add new syscall to provide memory externalization
reproduce:
# apt-get install sparse
git checkout e2ccdb8c9f49438f9c8910f2f93c7e5ee35d8644
make ARCH=x86_64 allmodconfig
make C=1 CF=-D__CHECK_ENDIAN__


sparse warnings: (new ones prefixed by >>)

>> mm/userfaultfd.c:48:6: sparse: symbol 'double_down_read' was not declared. Should it be static?
>> mm/userfaultfd.c:67:6: sparse: symbol 'double_up_read' was not declared. Should it be static?
>> mm/userfaultfd.c:34:9: sparse: context imbalance in 'double_pt_lock' - different lock contexts for basic block
>> mm/userfaultfd.c:44:9: sparse: context imbalance in 'double_pt_unlock' - different lock contexts for basic block
>> mm/userfaultfd.c:63:9: sparse: context imbalance in 'double_down_read' - wrong count at exit
>> mm/userfaultfd.c:73:9: sparse: context imbalance in 'double_up_read' - wrong count at exit
>> mm/userfaultfd.c:551:9: sparse: context imbalance in 'remap_anon_pages' - different lock contexts for basic block

Please review and possibly fold the followup patch.

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


\
 
 \ /
  Last update: 2015-02-12 10:21    [W:0.031 / U:0.572 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site