public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Alexander Lobakin <aleksander.lobakin@intel.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [alobakin:idpf-libie-new 50/65] arch/mips/include/asm/r4kcache.h:245:1: error: pasting formed '"Unsupported unroll count: "32', an invalid preprocessing token
Date: Wed, 20 Mar 2024 16:04:13 +0800	[thread overview]
Message-ID: <202403201512.c7bd4E1H-lkp@intel.com> (raw)

tree:   https://github.com/alobakin/linux idpf-libie-new
head:   3ec29f243914b957e581e1b00106eef6308d5680
commit: 7292c0205ebac9ec5f4d2ef3076e39971beed8bd [50/65] unroll: add generic loop unroll helpers
config: mips-maltaaprp_defconfig (https://download.01.org/0day-ci/archive/20240320/202403201512.c7bd4E1H-lkp@intel.com/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project.git f28c006a5895fc0e329fe15fead81e37457cb1d1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240320/202403201512.c7bd4E1H-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/202403201512.c7bd4E1H-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from arch/mips/kernel/mips-mt.c:20:
>> arch/mips/include/asm/r4kcache.h:245:1: error: pasting formed '"Unsupported unroll count: "32', an invalid preprocessing token
   __BUILD_BLAST_CACHE(d, dcache, Index_Writeback_Inv_D, Hit_Writeback_Inv_D, 16, )
   ^
   arch/mips/include/asm/r4kcache.h:214:4: note: expanded from macro '__BUILD_BLAST_CACHE'
                           cache_unroll(32, kernel_cache, indexop,         \
                           ^
   arch/mips/include/asm/r4kcache.h:197:2: note: expanded from macro 'cache_unroll'
           unrolled_call(times, _cache_op, insn, op,                       \
           ^
   include/linux/unroll.h:82:52: note: expanded from macro 'unrolled_call'
                   BUILD_BUG_ON_MSG(1, "Unsupported unroll count: " ##times);  \
                                                                    ^
   In file included from arch/mips/kernel/mips-mt.c:20:
>> arch/mips/include/asm/r4kcache.h:245:1: error: expected ')'
   arch/mips/include/asm/r4kcache.h:214:17: note: expanded from macro '__BUILD_BLAST_CACHE'
                           cache_unroll(32, kernel_cache, indexop,         \
                                        ^
>> arch/mips/include/asm/r4kcache.h:245:1: error: expected ')'
   arch/mips/include/asm/r4kcache.h:214:17: note: expanded from macro '__BUILD_BLAST_CACHE'
                           cache_unroll(32, kernel_cache, indexop,         \
                                        ^
>> arch/mips/include/asm/r4kcache.h:245:1: error: extraneous ')' before ';'
   arch/mips/include/asm/r4kcache.h:214:4: note: expanded from macro '__BUILD_BLAST_CACHE'
                           cache_unroll(32, kernel_cache, indexop,         \
                           ^
   arch/mips/include/asm/r4kcache.h:197:2: note: expanded from macro 'cache_unroll'
           unrolled_call(times, _cache_op, insn, op,                       \
           ^
   include/linux/unroll.h:82:3: note: expanded from macro 'unrolled_call'
                   BUILD_BUG_ON_MSG(1, "Unsupported unroll count: " ##times);  \
                   ^
   note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
   include/linux/compiler_types.h:448:2: note: expanded from macro '_compiletime_assert'
           __compiletime_assert(condition, msg, prefix, suffix)
           ^
   include/linux/compiler_types.h:439:4: note: expanded from macro '__compiletime_assert'
                           __compiletime_error(msg);                       \
                           ^
   include/linux/compiler_attributes.h:151:71: note: expanded from macro '__compiletime_error'
   # define __compiletime_error(msg)       __attribute__((__error__(msg)))
                                                                         ^
   In file included from arch/mips/kernel/mips-mt.c:20:
>> arch/mips/include/asm/r4kcache.h:245:1: error: pasting formed '"Unsupported unroll count: "32', an invalid preprocessing token
   arch/mips/include/asm/r4kcache.h:224:3: note: expanded from macro '__BUILD_BLAST_CACHE'
                   cache_unroll(32, kernel_cache, hitop, start, lsize);    \
                   ^
   arch/mips/include/asm/r4kcache.h:197:2: note: expanded from macro 'cache_unroll'
           unrolled_call(times, _cache_op, insn, op,                       \
           ^
   include/linux/unroll.h:82:52: note: expanded from macro 'unrolled_call'
                   BUILD_BUG_ON_MSG(1, "Unsupported unroll count: " ##times);  \
                                                                    ^
   In file included from arch/mips/kernel/mips-mt.c:20:
>> arch/mips/include/asm/r4kcache.h:245:1: error: expected ')'
   arch/mips/include/asm/r4kcache.h:224:16: note: expanded from macro '__BUILD_BLAST_CACHE'
                   cache_unroll(32, kernel_cache, hitop, start, lsize);    \
                                ^
>> arch/mips/include/asm/r4kcache.h:245:1: error: expected ')'
   arch/mips/include/asm/r4kcache.h:224:16: note: expanded from macro '__BUILD_BLAST_CACHE'
                   cache_unroll(32, kernel_cache, hitop, start, lsize);    \
                                ^
>> arch/mips/include/asm/r4kcache.h:245:1: error: extraneous ')' before ';'
   arch/mips/include/asm/r4kcache.h:224:3: note: expanded from macro '__BUILD_BLAST_CACHE'
                   cache_unroll(32, kernel_cache, hitop, start, lsize);    \
                   ^
   arch/mips/include/asm/r4kcache.h:197:2: note: expanded from macro 'cache_unroll'
           unrolled_call(times, _cache_op, insn, op,                       \
           ^
   include/linux/unroll.h:82:3: note: expanded from macro 'unrolled_call'
                   BUILD_BUG_ON_MSG(1, "Unsupported unroll count: " ##times);  \
                   ^
   note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
   include/linux/compiler_types.h:448:2: note: expanded from macro '_compiletime_assert'
           __compiletime_assert(condition, msg, prefix, suffix)
           ^
   include/linux/compiler_types.h:439:4: note: expanded from macro '__compiletime_assert'
                           __compiletime_error(msg);                       \
                           ^
   include/linux/compiler_attributes.h:151:71: note: expanded from macro '__compiletime_error'
   # define __compiletime_error(msg)       __attribute__((__error__(msg)))
                                                                         ^
   In file included from arch/mips/kernel/mips-mt.c:20:
>> arch/mips/include/asm/r4kcache.h:245:1: error: pasting formed '"Unsupported unroll count: "32', an invalid preprocessing token
   arch/mips/include/asm/r4kcache.h:241:4: note: expanded from macro '__BUILD_BLAST_CACHE'
                           cache_unroll(32, kernel_cache, indexop,         \
                           ^
   arch/mips/include/asm/r4kcache.h:197:2: note: expanded from macro 'cache_unroll'
           unrolled_call(times, _cache_op, insn, op,                       \
           ^
   include/linux/unroll.h:82:52: note: expanded from macro 'unrolled_call'
                   BUILD_BUG_ON_MSG(1, "Unsupported unroll count: " ##times);  \
                                                                    ^
   In file included from arch/mips/kernel/mips-mt.c:20:
>> arch/mips/include/asm/r4kcache.h:245:1: error: expected ')'
   arch/mips/include/asm/r4kcache.h:241:17: note: expanded from macro '__BUILD_BLAST_CACHE'
                           cache_unroll(32, kernel_cache, indexop,         \
                                        ^
>> arch/mips/include/asm/r4kcache.h:245:1: error: expected ')'
   arch/mips/include/asm/r4kcache.h:241:17: note: expanded from macro '__BUILD_BLAST_CACHE'
                           cache_unroll(32, kernel_cache, indexop,         \
                                        ^
>> arch/mips/include/asm/r4kcache.h:245:1: error: extraneous ')' before ';'
   arch/mips/include/asm/r4kcache.h:241:4: note: expanded from macro '__BUILD_BLAST_CACHE'
                           cache_unroll(32, kernel_cache, indexop,         \
                           ^
   arch/mips/include/asm/r4kcache.h:197:2: note: expanded from macro 'cache_unroll'
           unrolled_call(times, _cache_op, insn, op,                       \
           ^
   include/linux/unroll.h:82:3: note: expanded from macro 'unrolled_call'
                   BUILD_BUG_ON_MSG(1, "Unsupported unroll count: " ##times);  \
                   ^
   note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
   include/linux/compiler_types.h:448:2: note: expanded from macro '_compiletime_assert'
           __compiletime_assert(condition, msg, prefix, suffix)
           ^
   include/linux/compiler_types.h:439:4: note: expanded from macro '__compiletime_assert'
                           __compiletime_error(msg);                       \
                           ^
   include/linux/compiler_attributes.h:151:71: note: expanded from macro '__compiletime_error'
   # define __compiletime_error(msg)       __attribute__((__error__(msg)))
                                                                         ^
   In file included from arch/mips/kernel/mips-mt.c:20:
   arch/mips/include/asm/r4kcache.h:246:1: error: pasting formed '"Unsupported unroll count: "32', an invalid preprocessing token
   __BUILD_BLAST_CACHE(i, icache, Index_Invalidate_I, Hit_Invalidate_I, 16, )
   ^
   arch/mips/include/asm/r4kcache.h:214:4: note: expanded from macro '__BUILD_BLAST_CACHE'
                           cache_unroll(32, kernel_cache, indexop,         \
                           ^
   arch/mips/include/asm/r4kcache.h:197:2: note: expanded from macro 'cache_unroll'
           unrolled_call(times, _cache_op, insn, op,                       \
           ^
   include/linux/unroll.h:82:52: note: expanded from macro 'unrolled_call'
                   BUILD_BUG_ON_MSG(1, "Unsupported unroll count: " ##times);  \
                                                                    ^
   In file included from arch/mips/kernel/mips-mt.c:20:
   arch/mips/include/asm/r4kcache.h:246:1: error: expected ')'
   arch/mips/include/asm/r4kcache.h:214:17: note: expanded from macro '__BUILD_BLAST_CACHE'
                           cache_unroll(32, kernel_cache, indexop,         \
                                        ^
   arch/mips/include/asm/r4kcache.h:246:1: error: expected ')'
   arch/mips/include/asm/r4kcache.h:214:17: note: expanded from macro '__BUILD_BLAST_CACHE'
                           cache_unroll(32, kernel_cache, indexop,         \
                                        ^
   arch/mips/include/asm/r4kcache.h:246:1: error: extraneous ')' before ';'
   arch/mips/include/asm/r4kcache.h:214:4: note: expanded from macro '__BUILD_BLAST_CACHE'
                           cache_unroll(32, kernel_cache, indexop,         \
                           ^
   arch/mips/include/asm/r4kcache.h:197:2: note: expanded from macro 'cache_unroll'
           unrolled_call(times, _cache_op, insn, op,                       \
           ^
   include/linux/unroll.h:82:3: note: expanded from macro 'unrolled_call'
                   BUILD_BUG_ON_MSG(1, "Unsupported unroll count: " ##times);  \
                   ^
   note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
   include/linux/compiler_types.h:448:2: note: expanded from macro '_compiletime_assert'
           __compiletime_assert(condition, msg, prefix, suffix)
           ^
   include/linux/compiler_types.h:439:4: note: expanded from macro '__compiletime_assert'
                           __compiletime_error(msg);                       \
                           ^
   include/linux/compiler_attributes.h:151:71: note: expanded from macro '__compiletime_error'
   # define __compiletime_error(msg)       __attribute__((__error__(msg)))
                                                                         ^
   In file included from arch/mips/kernel/mips-mt.c:20:
   arch/mips/include/asm/r4kcache.h:246:1: error: pasting formed '"Unsupported unroll count: "32', an invalid preprocessing token
   arch/mips/include/asm/r4kcache.h:224:3: note: expanded from macro '__BUILD_BLAST_CACHE'
                   cache_unroll(32, kernel_cache, hitop, start, lsize);    \
                   ^
   arch/mips/include/asm/r4kcache.h:197:2: note: expanded from macro 'cache_unroll'
           unrolled_call(times, _cache_op, insn, op,                       \
           ^
   include/linux/unroll.h:82:52: note: expanded from macro 'unrolled_call'
                   BUILD_BUG_ON_MSG(1, "Unsupported unroll count: " ##times);  \
                                                                    ^
   In file included from arch/mips/kernel/mips-mt.c:20:
   arch/mips/include/asm/r4kcache.h:246:1: error: expected ')'
   arch/mips/include/asm/r4kcache.h:224:16: note: expanded from macro '__BUILD_BLAST_CACHE'
                   cache_unroll(32, kernel_cache, hitop, start, lsize);    \
                                ^
   arch/mips/include/asm/r4kcache.h:246:1: error: expected ')'
   arch/mips/include/asm/r4kcache.h:224:16: note: expanded from macro '__BUILD_BLAST_CACHE'
                   cache_unroll(32, kernel_cache, hitop, start, lsize);    \
                                ^
   fatal error: too many errors emitted, stopping now [-ferror-limit=]
   20 errors generated.


vim +245 arch/mips/include/asm/r4kcache.h

76f072a46f179b include/asm-mips/r4kcache.h      Atsushi Nemoto 2006-01-29  244  
43a06847b9d277 arch/mips/include/asm/r4kcache.h Aaro Koskinen  2014-01-14 @245  __BUILD_BLAST_CACHE(d, dcache, Index_Writeback_Inv_D, Hit_Writeback_Inv_D, 16, )
43a06847b9d277 arch/mips/include/asm/r4kcache.h Aaro Koskinen  2014-01-14  246  __BUILD_BLAST_CACHE(i, icache, Index_Invalidate_I, Hit_Invalidate_I, 16, )
43a06847b9d277 arch/mips/include/asm/r4kcache.h Aaro Koskinen  2014-01-14  247  __BUILD_BLAST_CACHE(s, scache, Index_Writeback_Inv_SD, Hit_Writeback_Inv_SD, 16, )
43a06847b9d277 arch/mips/include/asm/r4kcache.h Aaro Koskinen  2014-01-14  248  __BUILD_BLAST_CACHE(d, dcache, Index_Writeback_Inv_D, Hit_Writeback_Inv_D, 32, )
43a06847b9d277 arch/mips/include/asm/r4kcache.h Aaro Koskinen  2014-01-14  249  __BUILD_BLAST_CACHE(i, icache, Index_Invalidate_I, Hit_Invalidate_I, 32, )
43a06847b9d277 arch/mips/include/asm/r4kcache.h Aaro Koskinen  2014-01-14  250  __BUILD_BLAST_CACHE(i, icache, Index_Invalidate_I, Hit_Invalidate_I_Loongson2, 32, loongson2_)
43a06847b9d277 arch/mips/include/asm/r4kcache.h Aaro Koskinen  2014-01-14  251  __BUILD_BLAST_CACHE(s, scache, Index_Writeback_Inv_SD, Hit_Writeback_Inv_SD, 32, )
43a06847b9d277 arch/mips/include/asm/r4kcache.h Aaro Koskinen  2014-01-14  252  __BUILD_BLAST_CACHE(d, dcache, Index_Writeback_Inv_D, Hit_Writeback_Inv_D, 64, )
43a06847b9d277 arch/mips/include/asm/r4kcache.h Aaro Koskinen  2014-01-14  253  __BUILD_BLAST_CACHE(i, icache, Index_Invalidate_I, Hit_Invalidate_I, 64, )
43a06847b9d277 arch/mips/include/asm/r4kcache.h Aaro Koskinen  2014-01-14  254  __BUILD_BLAST_CACHE(s, scache, Index_Writeback_Inv_SD, Hit_Writeback_Inv_SD, 64, )
18a8cd63c0d800 arch/mips/include/asm/r4kcache.h David Daney    2014-05-28  255  __BUILD_BLAST_CACHE(d, dcache, Index_Writeback_Inv_D, Hit_Writeback_Inv_D, 128, )
18a8cd63c0d800 arch/mips/include/asm/r4kcache.h David Daney    2014-05-28  256  __BUILD_BLAST_CACHE(i, icache, Index_Invalidate_I, Hit_Invalidate_I, 128, )
43a06847b9d277 arch/mips/include/asm/r4kcache.h Aaro Koskinen  2014-01-14  257  __BUILD_BLAST_CACHE(s, scache, Index_Writeback_Inv_SD, Hit_Writeback_Inv_SD, 128, )
43a06847b9d277 arch/mips/include/asm/r4kcache.h Aaro Koskinen  2014-01-14  258  

:::::: The code at line 245 was first introduced by commit
:::::: 43a06847b9d277e9f2c3bf8052b44b74e17526c7 MIPS: fix blast_icache32 on loongson2

:::::: TO: Aaro Koskinen <aaro.koskinen@iki.fi>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2024-03-20  8:05 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=202403201512.c7bd4E1H-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=aleksander.lobakin@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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