* [mmotm:master 230/459] mm/gup.c:208: error: size of array 'type name' is negative
@ 2014-05-10 2:09 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2014-05-10 2:09 UTC (permalink / raw)
To: Johannes Berg
Cc: Linux Memory Management List, Andrew Morton, Johannes Weiner, kbuild-all
tree: git://git.cmpxchg.org/linux-mmotm.git master
head: 9567896580328249f6519fda78cf9fe185a8486d
commit: 849ba771e4fd9d334940e79d19c824608d06d393 [230/459] compiler.h: don't use temporary variable in __compiletime_assert()
config: make ARCH=avr32 atngw100_defconfig
All error/warnings:
mm/gup.c: In function 'follow_page_mask':
>> mm/gup.c:208: error: size of array 'type name' is negative
--
mm/memory.c: In function 'copy_pmd_range':
>> mm/memory.c:965: error: size of array 'type name' is negative
mm/memory.c: In function 'zap_pmd_range':
>> mm/memory.c:1232: error: size of array 'type name' is negative
--
mm/mprotect.c: In function 'change_pmd_range':
>> mm/mprotect.c:164: error: size of array 'type name' is negative
>> mm/mprotect.c:171: error: size of array 'type name' is negative
>> mm/mprotect.c:172: error: size of array 'type name' is negative
--
mm/mremap.c: In function 'move_page_tables':
>> mm/mremap.c:197: error: size of array 'type name' is negative
--
mm/pgtable-generic.c: In function 'pmdp_clear_flush_young':
>> mm/pgtable-generic.c:104: error: size of array 'type name' is negative
--
fs/proc/task_mmu.c: In function 'smaps_pmd':
>> fs/proc/task_mmu.c:502: error: size of array 'type name' is negative
>> fs/proc/task_mmu.c:504: error: size of array 'type name' is negative
vim +208 mm/gup.c
cd31ead0 Kirill A. Shutemov 2014-05-10 192 if ((flags & FOLL_NUMA) && pmd_numa(*pmd))
cd31ead0 Kirill A. Shutemov 2014-05-10 193 return no_page_table(vma, flags);
cd31ead0 Kirill A. Shutemov 2014-05-10 194 if (pmd_trans_huge(*pmd)) {
cd31ead0 Kirill A. Shutemov 2014-05-10 195 if (flags & FOLL_SPLIT) {
cd31ead0 Kirill A. Shutemov 2014-05-10 196 split_huge_page_pmd(vma, address, pmd);
cd31ead0 Kirill A. Shutemov 2014-05-10 197 return follow_page_pte(vma, address, pmd, flags);
cd31ead0 Kirill A. Shutemov 2014-05-10 198 }
cd31ead0 Kirill A. Shutemov 2014-05-10 199 ptl = pmd_lock(mm, pmd);
cd31ead0 Kirill A. Shutemov 2014-05-10 200 if (likely(pmd_trans_huge(*pmd))) {
cd31ead0 Kirill A. Shutemov 2014-05-10 201 if (unlikely(pmd_trans_splitting(*pmd))) {
cd31ead0 Kirill A. Shutemov 2014-05-10 202 spin_unlock(ptl);
cd31ead0 Kirill A. Shutemov 2014-05-10 203 wait_split_huge_page(vma->anon_vma, pmd);
cd31ead0 Kirill A. Shutemov 2014-05-10 204 } else {
cd31ead0 Kirill A. Shutemov 2014-05-10 205 page = follow_trans_huge_pmd(vma, address,
cd31ead0 Kirill A. Shutemov 2014-05-10 206 pmd, flags);
cd31ead0 Kirill A. Shutemov 2014-05-10 207 spin_unlock(ptl);
cd31ead0 Kirill A. Shutemov 2014-05-10 @208 *page_mask = HPAGE_PMD_NR - 1;
cd31ead0 Kirill A. Shutemov 2014-05-10 209 return page;
cd31ead0 Kirill A. Shutemov 2014-05-10 210 }
cd31ead0 Kirill A. Shutemov 2014-05-10 211 } else
cd31ead0 Kirill A. Shutemov 2014-05-10 212 spin_unlock(ptl);
cd31ead0 Kirill A. Shutemov 2014-05-10 213 }
cd31ead0 Kirill A. Shutemov 2014-05-10 214 return follow_page_pte(vma, address, pmd, flags);
55b65f76 Kirill A. Shutemov 2014-05-10 215 }
55b65f76 Kirill A. Shutemov 2014-05-10 216
:::::: The code at line 208 was first introduced by commit
:::::: cd31ead03cee7e815634acb9c0c8fc58eac73409 mm: cleanup follow_page_mask()
:::::: TO: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
:::::: CC: Johannes Weiner <hannes@cmpxchg.org>
---
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-10 2:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-10 2:09 [mmotm:master 230/459] mm/gup.c:208: error: size of array 'type name' is negative 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