Re: [PATCH v2 13/19] ARC: mm: disintegrate mmu.h (arcv2 bits out)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/12/21 9:01 PM, kernel test robot wrote:
Hi Vineet,

I love your patch! Yet something to improve:

[auto build test ERROR on arc/for-next]
[also build test ERROR on next-20210812]
[cannot apply to linux/master linus/master v5.14-rc5]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:https://github.com/0day-ci/linux/commits/Vineet-Gupta/ARC-mm-updates-support-3-4-levels-and-asm-generic-pgalloc/20210813-074023
base:https://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc.git  for-next
config: arc-allyesconfig (attached as .config)
compiler: arceb-elf-gcc (GCC) 10.3.0
reproduce (this is a W=1 build):
         wgethttps://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross  -O ~/bin/make.cross
         chmod +x ~/bin/make.cross
         #https://github.com/0day-ci/linux/commit/0411d3a95cb73722d026f7b3d9c9d8abab8c0d79
         git remote add linux-reviewhttps://github.com/0day-ci/linux
         git fetch --no-tags linux-review Vineet-Gupta/ARC-mm-updates-support-3-4-levels-and-asm-generic-pgalloc/20210813-074023
         git checkout 0411d3a95cb73722d026f7b3d9c9d8abab8c0d79
         # save the attached .config to linux build tree
         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross ARCH=arc

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

All errors (new ones prefixed by >>):

    In file included from arch/arc/include/asm/mmu.h:19,
                     from include/linux/mm_types.h:19,
                     from include/linux/buildid.h:5,
                     from include/linux/module.h:14,
                     from lib/test_bitops.c:9:
arch/arc/include/asm/mmu-arcv2.h:80:1: error: 'inline' is not at beginning of declaration [-Werror=old-style-declaration]
       80 | static void inline mmu_setup_asid(struct mm_struct *mm, unsigned long asid)
          | ^~~~~~
    arch/arc/include/asm/mmu-arcv2.h:85:1: error: 'inline' is not at beginning of declaration [-Werror=old-style-declaration]
       85 | static void inline mmu_setup_pgd(struct mm_struct *mm, void *pgd)
          | ^~~~~~
    cc1: all warnings being treated as errors

Strange my gcc11 is not tripping on this snafu. Fixed now.
Thx for the report as always.

-Vineet




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux