Re: [PATCH 3/4] mm: drop unused argument of zap_page_range()

From: kbuild test robot
Date: Fri Dec 16 2016 - 12:03:45 EST


Hi Kirill,

[auto build test WARNING on mmotm/master]
[also build test WARNING on v4.9 next-20161216]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Kirill-A-Shutemov/mm-drop-zap_details-ignore_dirty/20161216-231509
base: git://git.cmpxchg.org/linux-mmotm.git master
reproduce: make htmldocs

All warnings (new ones prefixed by >>):

lib/crc32.c:148: warning: No description found for parameter 'tab)[256]'
lib/crc32.c:148: warning: Excess function parameter 'tab' description in 'crc32_le_generic'
lib/crc32.c:293: warning: No description found for parameter 'tab)[256]'
lib/crc32.c:293: warning: Excess function parameter 'tab' description in 'crc32_be_generic'
lib/crc32.c:1: warning: no structured comments found
lib/idr.c:223: warning: No description found for parameter 'start'
lib/idr.c:223: warning: No description found for parameter 'id'
lib/idr.c:223: warning: Excess function parameter 'starting_id' description in 'ida_get_new_above'
lib/idr.c:223: warning: Excess function parameter 'p_id' description in 'ida_get_new_above'
lib/idr.c:1: warning: no structured comments found
Was looking for 'IDA description'.
lib/idr.c:223: warning: No description found for parameter 'start'
lib/idr.c:223: warning: No description found for parameter 'id'
lib/idr.c:223: warning: Excess function parameter 'starting_id' description in 'ida_get_new_above'
lib/idr.c:223: warning: Excess function parameter 'p_id' description in 'ida_get_new_above'
>> mm/memory.c:1379: warning: Excess function parameter 'details' description in 'zap_page_range'
drivers/pci/msi.c:623: warning: No description found for parameter 'affd'
drivers/pci/msi.c:623: warning: Excess function parameter 'affinity' description in 'msi_capability_init'

vim +1379 mm/memory.c

f5cc4eef9 Al Viro 2012-03-05 1363 for ( ; vma && vma->vm_start < end_addr; vma = vma->vm_next)
4f74d2c8e Linus Torvalds 2012-05-06 1364 unmap_single_vma(tlb, vma, start_addr, end_addr, NULL);
cddb8a5c1 Andrea Arcangeli 2008-07-28 1365 mmu_notifier_invalidate_range_end(mm, start_addr, end_addr);
^1da177e4 Linus Torvalds 2005-04-16 1366 }
^1da177e4 Linus Torvalds 2005-04-16 1367
^1da177e4 Linus Torvalds 2005-04-16 1368 /**
^1da177e4 Linus Torvalds 2005-04-16 1369 * zap_page_range - remove user pages in a given range
^1da177e4 Linus Torvalds 2005-04-16 1370 * @vma: vm_area_struct holding the applicable pages
eb4546bbb Randy Dunlap 2012-06-20 1371 * @start: starting address of pages to zap
^1da177e4 Linus Torvalds 2005-04-16 1372 * @size: number of bytes to zap
8a5f14a23 Kirill A. Shutemov 2015-02-10 1373 * @details: details of shared cache invalidation
f5cc4eef9 Al Viro 2012-03-05 1374 *
f5cc4eef9 Al Viro 2012-03-05 1375 * Caller must protect the VMA list
^1da177e4 Linus Torvalds 2005-04-16 1376 */
7e027b14d Linus Torvalds 2012-05-06 1377 void zap_page_range(struct vm_area_struct *vma, unsigned long start,
1ddef4086 Kirill A. Shutemov 2016-12-16 1378 unsigned long size)
^1da177e4 Linus Torvalds 2005-04-16 @1379 {
^1da177e4 Linus Torvalds 2005-04-16 1380 struct mm_struct *mm = vma->vm_mm;
d16dfc550 Peter Zijlstra 2011-05-24 1381 struct mmu_gather tlb;
7e027b14d Linus Torvalds 2012-05-06 1382 unsigned long end = start + size;
^1da177e4 Linus Torvalds 2005-04-16 1383
^1da177e4 Linus Torvalds 2005-04-16 1384 lru_add_drain();
2b047252d Linus Torvalds 2013-08-15 1385 tlb_gather_mmu(&tlb, mm, start, end);
365e9c87a Hugh Dickins 2005-10-29 1386 update_hiwater_rss(mm);
7e027b14d Linus Torvalds 2012-05-06 1387 mmu_notifier_invalidate_range_start(mm, start, end);

:::::: The code at line 1379 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip