linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [akpm-mm:mm-unstable 43/300] arch/arc/include/asm/mmu-arcv2.h:82:9: error: implicit declaration of function 'write_aux_reg'
@ 2024-04-05  0:16 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-04-05  0:16 UTC (permalink / raw)
  To: Kent Overstreet
  Cc: oe-kbuild-all, Andrew Morton, Linux Memory Management List,
	Suren Baghdasaryan, Pasha Tatashin

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


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

only message in thread, other threads:[~2024-04-05  0:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-05  0:16 [akpm-mm:mm-unstable 43/300] arch/arc/include/asm/mmu-arcv2.h:82:9: error: implicit declaration of function 'write_aux_reg' 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