linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [peterz-queue:mm/tlb 6/10] mm/memory.c:5469: error: unterminated argument list invoking macro "tlb_remove_table"
@ 2021-07-29  4:49 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-07-29  4:49 UTC (permalink / raw)
  To: Peter Zijlstra; +Cc: kbuild-all, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 4012 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git mm/tlb
head:   2cc55b2b06d61b92057c00380d43098315545d6e
commit: b7b3a023a4ed195a924f2acd2acdb5f1f41c90d1 [6/10] ia64/tlb: Fix __p*_free_tlb()
config: ia64-allmodconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 10.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?id=b7b3a023a4ed195a924f2acd2acdb5f1f41c90d1
        git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
        git fetch --no-tags peterz-queue mm/tlb
        git checkout b7b3a023a4ed195a924f2acd2acdb5f1f41c90d1
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=ia64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   mm/memory.c: In function 'free_pmd_range':
>> mm/memory.c:5469: error: unterminated argument list invoking macro "tlb_remove_table"
    5469 | #endif
         | 
   In file included from mm/memory.c:81:
>> arch/ia64/include/asm/pgalloc.h:50:2: error: 'tlb_remove_table' undeclared (first use in this function); did you mean 'tlb_remove_page'?
      50 |  tlb_remove_table((tlb), virt_to_page(pmd)
         |  ^~~~~~~~~~~~~~~~
   include/asm-generic/tlb.h:638:3: note: in expansion of macro '__pmd_free_tlb'
     638 |   __pmd_free_tlb(tlb, pmdp, address);  \
         |   ^~~~~~~~~~~~~~
   mm/memory.c:265:2: note: in expansion of macro 'pmd_free_tlb'
     265 |  pmd_free_tlb(tlb, pmd, start);
         |  ^~~~~~~~~~~~
   arch/ia64/include/asm/pgalloc.h:50:2: note: each undeclared identifier is reported only once for each function it appears in
      50 |  tlb_remove_table((tlb), virt_to_page(pmd)
         |  ^~~~~~~~~~~~~~~~
   include/asm-generic/tlb.h:638:3: note: in expansion of macro '__pmd_free_tlb'
     638 |   __pmd_free_tlb(tlb, pmdp, address);  \
         |   ^~~~~~~~~~~~~~
   mm/memory.c:265:2: note: in expansion of macro 'pmd_free_tlb'
     265 |  pmd_free_tlb(tlb, pmd, start);
         |  ^~~~~~~~~~~~
>> mm/memory.c:5469: error: expected ';' at end of input
    5469 | #endif
         | 
>> mm/memory.c:265:2: error: expected declaration or statement at end of input
     265 |  pmd_free_tlb(tlb, pmd, start);
         |  ^~~~~~~~~~~~
>> mm/memory.c:265:2: error: expected declaration or statement at end of input
   At top level:
   mm/memory.c:204:13: warning: 'check_sync_rss_stat' defined but not used [-Wunused-function]
     204 | static void check_sync_rss_stat(struct task_struct *task)
         |             ^~~~~~~~~~~~~~~~~~~
   mm/memory.c:190:13: warning: 'add_mm_counter_fast' defined but not used [-Wunused-function]
     190 | static void add_mm_counter_fast(struct mm_struct *mm, int member, int val)
         |             ^~~~~~~~~~~~~~~~~~~


vim +/tlb_remove_table +5469 mm/memory.c

49076ec2ccaf68 Kirill A. Shutemov 2013-11-14  5464  
539edb5846c740 Peter Zijlstra     2013-11-14  5465  void ptlock_free(struct page *page)
49076ec2ccaf68 Kirill A. Shutemov 2013-11-14  5466  {
b35f1819acd924 Kirill A. Shutemov 2014-01-21  5467  	kmem_cache_free(page_ptl_cachep, page->ptl);
49076ec2ccaf68 Kirill A. Shutemov 2013-11-14  5468  }
49076ec2ccaf68 Kirill A. Shutemov 2013-11-14 @5469  #endif

:::::: The code at line 5469 was first introduced by commit
:::::: 49076ec2ccaf68610aa03d96bced9a6694b93ca1 mm: dynamically allocate page->ptl if it cannot be embedded to struct page

:::::: TO: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 64454 bytes --]

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

only message in thread, other threads:[~2021-07-29  4:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-29  4:49 [peterz-queue:mm/tlb 6/10] mm/memory.c:5469: error: unterminated argument list invoking macro "tlb_remove_table" kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).