From: kernel test robot <lkp@intel.com>
To: Kent Overstreet <kent.overstreet@linux.dev>
Cc: oe-kbuild-all@lists.linux.dev,
Andrew Morton <akpm@linux-foundation.org>,
Linux Memory Management List <linux-mm@kvack.org>,
Suren Baghdasaryan <surenb@google.com>,
Pasha Tatashin <pasha.tatashin@soleen.com>
Subject: [akpm-mm:mm-unstable 43/300] arch/arc/include/asm/mmu-arcv2.h:82:9: error: implicit declaration of function 'write_aux_reg'
Date: Fri, 5 Apr 2024 08:16:16 +0800 [thread overview]
Message-ID: <202404050828.5pKgmCLu-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-unstable
head: 60b650ba203e33686b6c3aacf1556805811f8e9e
commit: 627dbcce529e56c04348944e6ffa9cdeebe9fe76 [43/300] asm-generic/io.h: kill vmalloc.h dependency
config: arc-defconfig (https://download.01.org/0day-ci/archive/20240405/202404050828.5pKgmCLu-lkp@intel.com/config)
compiler: arc-elf-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240405/202404050828.5pKgmCLu-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202404050828.5pKgmCLu-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from arch/arc/include/asm/mmu.h:21,
from arch/arc/include/asm/pgtable.h:14,
from include/linux/pgtable.h:6,
from include/asm-generic/io.h:1047,
from arch/arc/include/asm/io.h:232,
from include/linux/io.h:13,
from kernel/dma/coherent.c:6:
arch/arc/include/asm/mmu-arcv2.h: In function 'mmu_setup_asid':
>> arch/arc/include/asm/mmu-arcv2.h:82:9: error: implicit declaration of function 'write_aux_reg' [-Werror=implicit-function-declaration]
82 | write_aux_reg(ARC_REG_PID, asid | MMU_ENABLE);
| ^~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/write_aux_reg +82 arch/arc/include/asm/mmu-arcv2.h
2cc1121bc993ca Vineet Gupta 2020-10-01 79
2cc1121bc993ca Vineet Gupta 2020-10-01 80 static inline void mmu_setup_asid(struct mm_struct *mm, unsigned long asid)
2cc1121bc993ca Vineet Gupta 2020-10-01 81 {
2cc1121bc993ca Vineet Gupta 2020-10-01 @82 write_aux_reg(ARC_REG_PID, asid | MMU_ENABLE);
2cc1121bc993ca Vineet Gupta 2020-10-01 83 }
2cc1121bc993ca Vineet Gupta 2020-10-01 84
:::::: The code at line 82 was first introduced by commit
:::::: 2cc1121bc993ca3090cc4267bc38d3da61b68602 ARC: mm: disintegrate mmu.h (arcv2 bits out)
:::::: TO: Vineet Gupta <vgupta@kernel.org>
:::::: CC: Vineet Gupta <vgupta@kernel.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2024-04-05 0:17 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=202404050828.5pKgmCLu-lkp@intel.com \
--to=lkp@intel.com \
--cc=akpm@linux-foundation.org \
--cc=kent.overstreet@linux.dev \
--cc=linux-mm@kvack.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=pasha.tatashin@soleen.com \
--cc=surenb@google.com \
/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