From: kernel test robot <lkp@intel.com>
To: Peter Zijlstra <peterz@infradead.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [peterz-queue:mm/tlb 6/10] mm/memory.c:5469: error: unterminated argument list invoking macro "tlb_remove_table"
Date: Thu, 29 Jul 2021 12:49:19 +0800 [thread overview]
Message-ID: <202107291255.V4XCqHy7-lkp@intel.com> (raw)
[-- 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 --]
reply other threads:[~2021-07-29 4:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202107291255.V4XCqHy7-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=peterz@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).