Re: [PATCH v3] printk: Userspace format enumeration support

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

 



Hi Chris,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on jeyu/modules-next]
[also build test ERROR on linux/master soc/for-next openrisc/for-next powerpc/next uml/linux-next asm-generic/master linus/master v5.11-rc7 next-20210211]
[cannot apply to tip/x86/core pmladek/for-next]
[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/Chris-Down/printk-Userspace-format-enumeration-support/20210209-223044
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux.git modules-next
config: ia64-allmodconfig (attached as .config)
compiler: ia64-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://github.com/0day-ci/linux/commit/e90a39fb011f4c6124b244b00025332cd5d78bec
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Chris-Down/printk-Userspace-format-enumeration-support/20210209-223044
        git checkout e90a39fb011f4c6124b244b00025332cd5d78bec
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=ia64 

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 include/linux/kernel.h:16,
                    from include/linux/list.h:9,
                    from include/linux/rculist.h:10,
                    from include/linux/sched/signal.h:5,
                    from arch/ia64/kernel/asm-offsets.c:10:
   arch/ia64/include/asm/atomic.h: In function 'ia64_atomic_add':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
     311 |  ({               \
         |   ^
   include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
     331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
         |                          ^~~~~~~~~~~~~~~~
   arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
     142 |   extern int printk(const char *fmt, ...);  \
         |              ^~~~~~
   arch/ia64/include/asm/atomic.h:38:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
      38 |   CMPXCHG_BUGCHECK(v);     \
         |   ^~~~~~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h:61:2: note: in expansion of macro 'ATOMIC_OP'
      61 |  ATOMIC_OP(op, c_op)      \
         |  ^~~~~~~~~
   arch/ia64/include/asm/atomic.h:64:1: note: in expansion of macro 'ATOMIC_OPS'
      64 | ATOMIC_OPS(add, +)
         | ^~~~~~~~~~
   arch/ia64/include/asm/atomic.h: In function 'ia64_atomic_fetch_add':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
     311 |  ({               \
         |   ^
   include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
     331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
         |                          ^~~~~~~~~~~~~~~~
   arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
     142 |   extern int printk(const char *fmt, ...);  \
         |              ^~~~~~
   arch/ia64/include/asm/atomic.h:53:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
      53 |   CMPXCHG_BUGCHECK(v);     \
         |   ^~~~~~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h:62:2: note: in expansion of macro 'ATOMIC_FETCH_OP'
      62 |  ATOMIC_FETCH_OP(op, c_op)
         |  ^~~~~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h:64:1: note: in expansion of macro 'ATOMIC_OPS'
      64 | ATOMIC_OPS(add, +)
         | ^~~~~~~~~~
   arch/ia64/include/asm/atomic.h: In function 'ia64_atomic_sub':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
     311 |  ({               \
         |   ^
   include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
     331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
         |                          ^~~~~~~~~~~~~~~~
   arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
     142 |   extern int printk(const char *fmt, ...);  \
         |              ^~~~~~
   arch/ia64/include/asm/atomic.h:38:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
      38 |   CMPXCHG_BUGCHECK(v);     \
         |   ^~~~~~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h:61:2: note: in expansion of macro 'ATOMIC_OP'
      61 |  ATOMIC_OP(op, c_op)      \
         |  ^~~~~~~~~
   arch/ia64/include/asm/atomic.h:65:1: note: in expansion of macro 'ATOMIC_OPS'
      65 | ATOMIC_OPS(sub, -)
         | ^~~~~~~~~~
   arch/ia64/include/asm/atomic.h: In function 'ia64_atomic_fetch_sub':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
     311 |  ({               \
         |   ^
   include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
     331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
         |                          ^~~~~~~~~~~~~~~~
   arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
     142 |   extern int printk(const char *fmt, ...);  \
         |              ^~~~~~
   arch/ia64/include/asm/atomic.h:53:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
      53 |   CMPXCHG_BUGCHECK(v);     \
         |   ^~~~~~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h:62:2: note: in expansion of macro 'ATOMIC_FETCH_OP'
      62 |  ATOMIC_FETCH_OP(op, c_op)
         |  ^~~~~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h:65:1: note: in expansion of macro 'ATOMIC_OPS'
      65 | ATOMIC_OPS(sub, -)
         | ^~~~~~~~~~
   arch/ia64/include/asm/atomic.h: In function 'ia64_atomic_fetch_and':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
     311 |  ({               \
         |   ^
   include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
     331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
         |                          ^~~~~~~~~~~~~~~~
   arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
     142 |   extern int printk(const char *fmt, ...);  \
         |              ^~~~~~
   arch/ia64/include/asm/atomic.h:53:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
      53 |   CMPXCHG_BUGCHECK(v);     \
         |   ^~~~~~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h:109:1: note: in expansion of macro 'ATOMIC_FETCH_OP'
     109 | ATOMIC_FETCH_OP(and, &)
         | ^~~~~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h: In function 'ia64_atomic_fetch_or':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
     311 |  ({               \
         |   ^
   include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
     331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
         |                          ^~~~~~~~~~~~~~~~
   arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
     142 |   extern int printk(const char *fmt, ...);  \
         |              ^~~~~~
   arch/ia64/include/asm/atomic.h:53:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
      53 |   CMPXCHG_BUGCHECK(v);     \
         |   ^~~~~~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h:110:1: note: in expansion of macro 'ATOMIC_FETCH_OP'
     110 | ATOMIC_FETCH_OP(or, |)
         | ^~~~~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h: In function 'ia64_atomic_fetch_xor':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
     311 |  ({               \
         |   ^
   include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
     331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
         |                          ^~~~~~~~~~~~~~~~
   arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
     142 |   extern int printk(const char *fmt, ...);  \
         |              ^~~~~~
   arch/ia64/include/asm/atomic.h:53:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
      53 |   CMPXCHG_BUGCHECK(v);     \
         |   ^~~~~~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h:111:1: note: in expansion of macro 'ATOMIC_FETCH_OP'
     111 | ATOMIC_FETCH_OP(xor, ^)
         | ^~~~~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h: In function 'ia64_atomic64_add':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
     311 |  ({               \
         |   ^
   include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
     331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
         |                          ^~~~~~~~~~~~~~~~
   arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
     142 |   extern int printk(const char *fmt, ...);  \
         |              ^~~~~~
   arch/ia64/include/asm/atomic.h:133:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
     133 |   CMPXCHG_BUGCHECK(v);     \
         |   ^~~~~~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h:156:2: note: in expansion of macro 'ATOMIC64_OP'
     156 |  ATOMIC64_OP(op, c_op)      \
         |  ^~~~~~~~~~~
   arch/ia64/include/asm/atomic.h:159:1: note: in expansion of macro 'ATOMIC64_OPS'
     159 | ATOMIC64_OPS(add, +)
         | ^~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h: In function 'ia64_atomic64_fetch_add':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
     311 |  ({               \
         |   ^
   include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
     331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
         |                          ^~~~~~~~~~~~~~~~
   arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
     142 |   extern int printk(const char *fmt, ...);  \
         |              ^~~~~~
   arch/ia64/include/asm/atomic.h:148:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
     148 |   CMPXCHG_BUGCHECK(v);     \
         |   ^~~~~~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h:157:2: note: in expansion of macro 'ATOMIC64_FETCH_OP'
     157 |  ATOMIC64_FETCH_OP(op, c_op)
         |  ^~~~~~~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h:159:1: note: in expansion of macro 'ATOMIC64_OPS'
     159 | ATOMIC64_OPS(add, +)
         | ^~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h: In function 'ia64_atomic64_sub':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
     311 |  ({               \
         |   ^
   include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
     331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
         |                          ^~~~~~~~~~~~~~~~
   arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
     142 |   extern int printk(const char *fmt, ...);  \
         |              ^~~~~~
   arch/ia64/include/asm/atomic.h:133:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
     133 |   CMPXCHG_BUGCHECK(v);     \
         |   ^~~~~~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h:156:2: note: in expansion of macro 'ATOMIC64_OP'
     156 |  ATOMIC64_OP(op, c_op)      \
         |  ^~~~~~~~~~~
   arch/ia64/include/asm/atomic.h:160:1: note: in expansion of macro 'ATOMIC64_OPS'
     160 | ATOMIC64_OPS(sub, -)
         | ^~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h: In function 'ia64_atomic64_fetch_sub':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
     311 |  ({               \
         |   ^
   include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
     331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
         |                          ^~~~~~~~~~~~~~~~
   arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
     142 |   extern int printk(const char *fmt, ...);  \
         |              ^~~~~~
   arch/ia64/include/asm/atomic.h:148:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
     148 |   CMPXCHG_BUGCHECK(v);     \
         |   ^~~~~~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h:157:2: note: in expansion of macro 'ATOMIC64_FETCH_OP'
     157 |  ATOMIC64_FETCH_OP(op, c_op)
         |  ^~~~~~~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h:160:1: note: in expansion of macro 'ATOMIC64_OPS'
     160 | ATOMIC64_OPS(sub, -)
         | ^~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h: In function 'ia64_atomic64_fetch_and':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
     311 |  ({               \
         |   ^
   include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
     331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
         |                          ^~~~~~~~~~~~~~~~
   arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
     142 |   extern int printk(const char *fmt, ...);  \
         |              ^~~~~~
   arch/ia64/include/asm/atomic.h:148:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
     148 |   CMPXCHG_BUGCHECK(v);     \
         |   ^~~~~~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h:194:1: note: in expansion of macro 'ATOMIC64_FETCH_OP'
     194 | ATOMIC64_FETCH_OP(and, &)
         | ^~~~~~~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h: In function 'ia64_atomic64_fetch_or':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
     311 |  ({               \
         |   ^
   include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
     331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
         |                          ^~~~~~~~~~~~~~~~
   arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
     142 |   extern int printk(const char *fmt, ...);  \
         |              ^~~~~~
   arch/ia64/include/asm/atomic.h:148:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
     148 |   CMPXCHG_BUGCHECK(v);     \
         |   ^~~~~~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h:195:1: note: in expansion of macro 'ATOMIC64_FETCH_OP'
     195 | ATOMIC64_FETCH_OP(or, |)
         | ^~~~~~~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h: In function 'ia64_atomic64_fetch_xor':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
     311 |  ({               \
         |   ^
   include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
     331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
         |                          ^~~~~~~~~~~~~~~~
   arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
     142 |   extern int printk(const char *fmt, ...);  \
         |              ^~~~~~
   arch/ia64/include/asm/atomic.h:148:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
     148 |   CMPXCHG_BUGCHECK(v);     \
         |   ^~~~~~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h:196:1: note: in expansion of macro 'ATOMIC64_FETCH_OP'
     196 | ATOMIC64_FETCH_OP(xor, ^)
         | ^~~~~~~~~~~~~~~~~
   arch/ia64/kernel/asm-offsets.c: At top level:
   arch/ia64/kernel/asm-offsets.c:23:6: warning: no previous prototype for 'foo' [-Wmissing-prototypes]
      23 | void foo(void)
         |      ^~~
--
   scripts/Makefile.build:68: 'arch/ia64/kernel/palinfo.ko' 'arch/ia64/kernel/mca_recovery.ko' 'arch/ia64/kernel/err_inject.ko' will not be built even though obj-m is specified.
   scripts/Makefile.build:69: You cannot use subdir-y/m to visit a module Makefile. Use obj-y/m instead.
   In file included from include/linux/kernel.h:16,
                    from include/linux/list.h:9,
                    from include/linux/rculist.h:10,
                    from include/linux/sched/signal.h:5,
                    from arch/ia64/kernel/asm-offsets.c:10:
   arch/ia64/include/asm/atomic.h: In function 'ia64_atomic_add':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
     311 |  ({               \
         |   ^
   include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
     331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
         |                          ^~~~~~~~~~~~~~~~
   arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
     142 |   extern int printk(const char *fmt, ...);  \
         |              ^~~~~~
   arch/ia64/include/asm/atomic.h:38:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
      38 |   CMPXCHG_BUGCHECK(v);     \
         |   ^~~~~~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h:61:2: note: in expansion of macro 'ATOMIC_OP'
      61 |  ATOMIC_OP(op, c_op)      \
         |  ^~~~~~~~~
   arch/ia64/include/asm/atomic.h:64:1: note: in expansion of macro 'ATOMIC_OPS'
      64 | ATOMIC_OPS(add, +)
         | ^~~~~~~~~~
   arch/ia64/include/asm/atomic.h: In function 'ia64_atomic_fetch_add':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
     311 |  ({               \
         |   ^
   include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
     331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
         |                          ^~~~~~~~~~~~~~~~
   arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
     142 |   extern int printk(const char *fmt, ...);  \
         |              ^~~~~~
   arch/ia64/include/asm/atomic.h:53:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
      53 |   CMPXCHG_BUGCHECK(v);     \
         |   ^~~~~~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h:62:2: note: in expansion of macro 'ATOMIC_FETCH_OP'
      62 |  ATOMIC_FETCH_OP(op, c_op)
         |  ^~~~~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h:64:1: note: in expansion of macro 'ATOMIC_OPS'
      64 | ATOMIC_OPS(add, +)
         | ^~~~~~~~~~
   arch/ia64/include/asm/atomic.h: In function 'ia64_atomic_sub':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
     311 |  ({               \
         |   ^
   include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
     331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
         |                          ^~~~~~~~~~~~~~~~
   arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
     142 |   extern int printk(const char *fmt, ...);  \
         |              ^~~~~~
   arch/ia64/include/asm/atomic.h:38:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
      38 |   CMPXCHG_BUGCHECK(v);     \
         |   ^~~~~~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h:61:2: note: in expansion of macro 'ATOMIC_OP'
      61 |  ATOMIC_OP(op, c_op)      \
         |  ^~~~~~~~~
   arch/ia64/include/asm/atomic.h:65:1: note: in expansion of macro 'ATOMIC_OPS'
      65 | ATOMIC_OPS(sub, -)
         | ^~~~~~~~~~
   arch/ia64/include/asm/atomic.h: In function 'ia64_atomic_fetch_sub':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
     311 |  ({               \
         |   ^
   include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
     331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
         |                          ^~~~~~~~~~~~~~~~
   arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
     142 |   extern int printk(const char *fmt, ...);  \
         |              ^~~~~~
   arch/ia64/include/asm/atomic.h:53:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
      53 |   CMPXCHG_BUGCHECK(v);     \
         |   ^~~~~~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h:62:2: note: in expansion of macro 'ATOMIC_FETCH_OP'
      62 |  ATOMIC_FETCH_OP(op, c_op)
         |  ^~~~~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h:65:1: note: in expansion of macro 'ATOMIC_OPS'
      65 | ATOMIC_OPS(sub, -)
         | ^~~~~~~~~~
   arch/ia64/include/asm/atomic.h: In function 'ia64_atomic_fetch_and':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
     311 |  ({               \
         |   ^
   include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
     331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
         |                          ^~~~~~~~~~~~~~~~
   arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
     142 |   extern int printk(const char *fmt, ...);  \
         |              ^~~~~~
   arch/ia64/include/asm/atomic.h:53:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
      53 |   CMPXCHG_BUGCHECK(v);     \
         |   ^~~~~~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h:109:1: note: in expansion of macro 'ATOMIC_FETCH_OP'
     109 | ATOMIC_FETCH_OP(and, &)
         | ^~~~~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h: In function 'ia64_atomic_fetch_or':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
     311 |  ({               \
         |   ^
   include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
     331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
         |                          ^~~~~~~~~~~~~~~~
   arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
     142 |   extern int printk(const char *fmt, ...);  \
         |              ^~~~~~
   arch/ia64/include/asm/atomic.h:53:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
      53 |   CMPXCHG_BUGCHECK(v);     \
         |   ^~~~~~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h:110:1: note: in expansion of macro 'ATOMIC_FETCH_OP'
     110 | ATOMIC_FETCH_OP(or, |)
         | ^~~~~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h: In function 'ia64_atomic_fetch_xor':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
     311 |  ({               \
         |   ^
   include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
     331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
         |                          ^~~~~~~~~~~~~~~~
   arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
     142 |   extern int printk(const char *fmt, ...);  \
         |              ^~~~~~
   arch/ia64/include/asm/atomic.h:53:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
      53 |   CMPXCHG_BUGCHECK(v);     \
         |   ^~~~~~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h:111:1: note: in expansion of macro 'ATOMIC_FETCH_OP'
     111 | ATOMIC_FETCH_OP(xor, ^)
         | ^~~~~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h: In function 'ia64_atomic64_add':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
     311 |  ({               \
         |   ^
   include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
     331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
         |                          ^~~~~~~~~~~~~~~~
   arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
     142 |   extern int printk(const char *fmt, ...);  \
         |              ^~~~~~
   arch/ia64/include/asm/atomic.h:133:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
     133 |   CMPXCHG_BUGCHECK(v);     \
         |   ^~~~~~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h:156:2: note: in expansion of macro 'ATOMIC64_OP'
     156 |  ATOMIC64_OP(op, c_op)      \
         |  ^~~~~~~~~~~
   arch/ia64/include/asm/atomic.h:159:1: note: in expansion of macro 'ATOMIC64_OPS'
     159 | ATOMIC64_OPS(add, +)
         | ^~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h: In function 'ia64_atomic64_fetch_add':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
     311 |  ({               \
         |   ^
   include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
     331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
         |                          ^~~~~~~~~~~~~~~~
   arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
     142 |   extern int printk(const char *fmt, ...);  \
         |              ^~~~~~
   arch/ia64/include/asm/atomic.h:148:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
     148 |   CMPXCHG_BUGCHECK(v);     \
         |   ^~~~~~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h:157:2: note: in expansion of macro 'ATOMIC64_FETCH_OP'
     157 |  ATOMIC64_FETCH_OP(op, c_op)
         |  ^~~~~~~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h:159:1: note: in expansion of macro 'ATOMIC64_OPS'
     159 | ATOMIC64_OPS(add, +)
         | ^~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h: In function 'ia64_atomic64_sub':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
     311 |  ({               \
         |   ^
   include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
     331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
         |                          ^~~~~~~~~~~~~~~~
   arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
     142 |   extern int printk(const char *fmt, ...);  \
         |              ^~~~~~
   arch/ia64/include/asm/atomic.h:133:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
     133 |   CMPXCHG_BUGCHECK(v);     \
         |   ^~~~~~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h:156:2: note: in expansion of macro 'ATOMIC64_OP'
     156 |  ATOMIC64_OP(op, c_op)      \
         |  ^~~~~~~~~~~
   arch/ia64/include/asm/atomic.h:160:1: note: in expansion of macro 'ATOMIC64_OPS'
     160 | ATOMIC64_OPS(sub, -)
         | ^~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h: In function 'ia64_atomic64_fetch_sub':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
     311 |  ({               \
         |   ^
   include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
     331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
         |                          ^~~~~~~~~~~~~~~~
   arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
     142 |   extern int printk(const char *fmt, ...);  \
         |              ^~~~~~
   arch/ia64/include/asm/atomic.h:148:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
     148 |   CMPXCHG_BUGCHECK(v);     \
         |   ^~~~~~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h:157:2: note: in expansion of macro 'ATOMIC64_FETCH_OP'
     157 |  ATOMIC64_FETCH_OP(op, c_op)
         |  ^~~~~~~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h:160:1: note: in expansion of macro 'ATOMIC64_OPS'
     160 | ATOMIC64_OPS(sub, -)
         | ^~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h: In function 'ia64_atomic64_fetch_and':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
     311 |  ({               \
         |   ^
   include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
     331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
         |                          ^~~~~~~~~~~~~~~~
   arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
     142 |   extern int printk(const char *fmt, ...);  \
         |              ^~~~~~
   arch/ia64/include/asm/atomic.h:148:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
     148 |   CMPXCHG_BUGCHECK(v);     \
         |   ^~~~~~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h:194:1: note: in expansion of macro 'ATOMIC64_FETCH_OP'
     194 | ATOMIC64_FETCH_OP(and, &)
         | ^~~~~~~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h: In function 'ia64_atomic64_fetch_or':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
     311 |  ({               \
         |   ^
   include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
     331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
         |                          ^~~~~~~~~~~~~~~~
   arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
     142 |   extern int printk(const char *fmt, ...);  \
         |              ^~~~~~
   arch/ia64/include/asm/atomic.h:148:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
     148 |   CMPXCHG_BUGCHECK(v);     \
         |   ^~~~~~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h:195:1: note: in expansion of macro 'ATOMIC64_FETCH_OP'
     195 | ATOMIC64_FETCH_OP(or, |)
         | ^~~~~~~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h: In function 'ia64_atomic64_fetch_xor':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
     311 |  ({               \
         |   ^
   include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
     331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
         |                          ^~~~~~~~~~~~~~~~
   arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
     142 |   extern int printk(const char *fmt, ...);  \
         |              ^~~~~~
   arch/ia64/include/asm/atomic.h:148:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
     148 |   CMPXCHG_BUGCHECK(v);     \
         |   ^~~~~~~~~~~~~~~~
   arch/ia64/include/asm/atomic.h:196:1: note: in expansion of macro 'ATOMIC64_FETCH_OP'
     196 | ATOMIC64_FETCH_OP(xor, ^)
         | ^~~~~~~~~~~~~~~~~
   arch/ia64/kernel/asm-offsets.c: At top level:
   arch/ia64/kernel/asm-offsets.c:23:6: warning: no previous prototype for 'foo' [-Wmissing-prototypes]
      23 | void foo(void)
         |      ^~~
   make[2]: *** [scripts/Makefile.build:117: arch/ia64/kernel/asm-offsets.s] Error 1
   make[2]: Target '__build' not remade because of errors.
   make[1]: *** [Makefile:1206: prepare0] Error 2
   make[1]: Target 'modules_prepare' not remade because of errors.
   make: *** [Makefile:185: __sub-make] Error 2
   make: Target 'modules_prepare' not remade because of errors.
..

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for FRAME_POINTER
   Depends on DEBUG_KERNEL && (M68K || UML || SUPERH) || ARCH_WANT_FRAME_POINTERS
   Selected by
   - FAULT_INJECTION_STACKTRACE_FILTER && FAULT_INJECTION_DEBUG_FS && STACKTRACE_SUPPORT && !X86_64 && !MIPS && !PPC && !S390 && !MICROBLAZE && !ARM && !ARC && !X86


vim +311 include/linux/printk.h

   308	
   309	#ifdef CONFIG_PRINTK_ENUMERATION
   310	#define printk_store_fmt(func, fmt, ...)				       \
 > 311		({								       \
   312			int _printk_ret;					       \
   313										       \
   314			if (__builtin_constant_p(fmt)) {			       \
   315				/*
   316				 * The compiler may not be able to eliminate this, so
   317				 * we need to make sure that it doesn't see any
   318				 * hypothetical assignment for non-constants even
   319				 * though this is already inside the
   320				 * __builtin_constant_p guard.
   321				 */						       \
   322				static const char *_fmt __section(".printk_fmts") =    \
   323					__builtin_constant_p(fmt) ? fmt : NULL;	       \
   324				_printk_ret = func(_fmt, ##__VA_ARGS__);	       \
   325			} else							       \
   326				_printk_ret = func(fmt, ##__VA_ARGS__);		       \
   327										       \
   328			_printk_ret;						       \
   329		})
   330	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[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