From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [peterz-queue:mm/tlb 4/10] arch/parisc/include/asm/pgalloc.h:69:6: error: implicit declaration of function '__pmd_free'; did you mean 'pmd_free'?
Date: Thu, 15 Apr 2021 13:22:54 +0800 [thread overview]
Message-ID: <202104151348.exNG708N-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2791 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git mm/tlb
head: b82a5a0cacd676c4b8a41bb7fd30fa62b510e9f3
commit: f508b925b8a989de2393db2155ad9bf42c34f4ba [4/10] parisc/tlb: Fix __p*_free_tlb()
config: parisc-randconfig-r021-20210414 (attached as .config)
compiler: hppa64-linux-gcc (GCC) 9.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=f508b925b8a989de2393db2155ad9bf42c34f4ba
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 f508b925b8a989de2393db2155ad9bf42c34f4ba
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross W=1 ARCH=parisc
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 >>):
In file included from include/linux/kernel.h:10,
from include/linux/list.h:9,
from include/linux/smp.h:12,
from include/linux/kernel_stat.h:5,
from mm/memory.c:42:
mm/memory.c: In function 'free_pmd_range':
>> arch/parisc/include/asm/pgalloc.h:69:6: error: implicit declaration of function '__pmd_free'; did you mean 'pmd_free'? [-Werror=implicit-function-declaration]
69 | if (__pmd_free((tlb)->mm, (pmd))) \
| ^~~~~~~~~~
include/linux/compiler.h:58:52: note: in definition of macro '__trace_if_var'
58 | #define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
| ^~~~
arch/parisc/include/asm/pgalloc.h:69:2: note: in expansion of macro 'if'
69 | if (__pmd_free((tlb)->mm, (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:266:2: note: in expansion of macro 'pmd_free_tlb'
266 | pmd_free_tlb(tlb, pmd, start);
| ^~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +69 arch/parisc/include/asm/pgalloc.h
66
67 #define __pmd_free_tlb(tlb, pmd, addr) \
68 do { \
> 69 if (__pmd_free((tlb)->mm, (pmd))) \
70 tlb_remove_table((tlb), (pmd)); \
71 } while (0)
72
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 28560 bytes --]
next reply other threads:[~2021-04-15 5:22 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-15 5:22 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-04-20 1:59 [peterz-queue:mm/tlb 4/10] arch/parisc/include/asm/pgalloc.h:69:6: error: implicit declaration of function '__pmd_free'; did you mean 'pmd_free'? kernel test robot
2021-05-10 22:22 kernel test robot
2021-05-27 12:49 kernel test robot
2021-06-15 14:46 kernel test robot
2021-07-01 19:18 kernel test robot
2021-08-02 19:35 kernel test robot
2021-08-02 19:35 ` kernel test robot
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=202104151348.exNG708N-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.