{standard input}:162: Error: found '(', expected: ')'

From: kernel test robot
Date: Thu Oct 01 2020 - 12:15:10 EST


Hi Paul,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 60e720931556fc1034d0981460164dcf02697679
commit: 21e3134b3ec09e722cbcda69788f206adc8db1f4 MIPS: barrier: Clean up rmb() & wmb() definitions
date: 12 months ago
config: mips-randconfig-r001-20200930 (attached as .config)
compiler: mipsel-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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=21e3134b3ec09e722cbcda69788f206adc8db1f4
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 21e3134b3ec09e722cbcda69788f206adc8db1f4
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=mips

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

All errors (new ones prefixed by >>):

| ^~
lib/iomap.c:346:2: note: in expansion of macro 'IO_COND'
346 | IO_COND(addr, outsb(port, src, count), mmio_outsb(addr, src, count));
| ^~~~~~~
lib/iomap.c:53:11: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
53 | if (port >= PIO_RESERVED) { \
| ^~
include/linux/compiler.h:69:3: note: in definition of macro '__trace_if_value'
69 | (cond) ? \
| ^~~~
include/linux/compiler.h:56:28: note: in expansion of macro '__trace_if_var'
56 | #define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
| ^~~~~~~~~~~~~~
lib/iomap.c:53:2: note: in expansion of macro 'if'
53 | if (port >= PIO_RESERVED) { \
| ^~
lib/iomap.c:346:2: note: in expansion of macro 'IO_COND'
346 | IO_COND(addr, outsb(port, src, count), mmio_outsb(addr, src, count));
| ^~~~~~~
lib/iomap.c: In function 'iowrite16_rep':
lib/iomap.c:53:11: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
53 | if (port >= PIO_RESERVED) { \
| ^~
include/linux/compiler.h:58:52: note: in definition of macro '__trace_if_var'
58 | #define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
| ^~~~
lib/iomap.c:53:2: note: in expansion of macro 'if'
53 | if (port >= PIO_RESERVED) { \
| ^~
lib/iomap.c:350:2: note: in expansion of macro 'IO_COND'
350 | IO_COND(addr, outsw(port, src, count), mmio_outsw(addr, src, count));
| ^~~~~~~
lib/iomap.c:53:11: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
53 | if (port >= PIO_RESERVED) { \
| ^~
include/linux/compiler.h:58:61: note: in definition of macro '__trace_if_var'
58 | #define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
| ^~~~
lib/iomap.c:53:2: note: in expansion of macro 'if'
53 | if (port >= PIO_RESERVED) { \
| ^~
lib/iomap.c:350:2: note: in expansion of macro 'IO_COND'
350 | IO_COND(addr, outsw(port, src, count), mmio_outsw(addr, src, count));
| ^~~~~~~
lib/iomap.c:53:11: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
53 | if (port >= PIO_RESERVED) { \
| ^~
include/linux/compiler.h:69:3: note: in definition of macro '__trace_if_value'
69 | (cond) ? \
| ^~~~
include/linux/compiler.h:56:28: note: in expansion of macro '__trace_if_var'
56 | #define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
| ^~~~~~~~~~~~~~
lib/iomap.c:53:2: note: in expansion of macro 'if'
53 | if (port >= PIO_RESERVED) { \
| ^~
lib/iomap.c:350:2: note: in expansion of macro 'IO_COND'
350 | IO_COND(addr, outsw(port, src, count), mmio_outsw(addr, src, count));
| ^~~~~~~
lib/iomap.c: In function 'iowrite32_rep':
lib/iomap.c:53:11: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
53 | if (port >= PIO_RESERVED) { \
| ^~
include/linux/compiler.h:58:52: note: in definition of macro '__trace_if_var'
58 | #define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
| ^~~~
lib/iomap.c:53:2: note: in expansion of macro 'if'
53 | if (port >= PIO_RESERVED) { \
| ^~
lib/iomap.c:354:2: note: in expansion of macro 'IO_COND'
354 | IO_COND(addr, outsl(port, src,count), mmio_outsl(addr, src, count));
| ^~~~~~~
lib/iomap.c:53:11: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
53 | if (port >= PIO_RESERVED) { \
| ^~
include/linux/compiler.h:58:61: note: in definition of macro '__trace_if_var'
58 | #define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
| ^~~~
lib/iomap.c:53:2: note: in expansion of macro 'if'
53 | if (port >= PIO_RESERVED) { \
| ^~
lib/iomap.c:354:2: note: in expansion of macro 'IO_COND'
354 | IO_COND(addr, outsl(port, src,count), mmio_outsl(addr, src, count));
| ^~~~~~~
lib/iomap.c:53:11: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
53 | if (port >= PIO_RESERVED) { \
| ^~
include/linux/compiler.h:69:3: note: in definition of macro '__trace_if_value'
69 | (cond) ? \
| ^~~~
include/linux/compiler.h:56:28: note: in expansion of macro '__trace_if_var'
56 | #define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
| ^~~~~~~~~~~~~~
lib/iomap.c:53:2: note: in expansion of macro 'if'
53 | if (port >= PIO_RESERVED) { \
| ^~
lib/iomap.c:354:2: note: in expansion of macro 'IO_COND'
354 | IO_COND(addr, outsl(port, src,count), mmio_outsl(addr, src, count));
| ^~~~~~~
{standard input}: Assembler messages:
>> {standard input}:162: Error: found '(', expected: ')'
>> {standard input}:162: Error: found '(', expected: ')'
>> {standard input}:162: Error: non-constant expression in ".if" statement
>> {standard input}:162: Error: junk at end of line, first unrecognized character is `('
{standard input}:642: Error: found '(', expected: ')'
{standard input}:642: Error: found '(', expected: ')'
{standard input}:642: Error: non-constant expression in ".if" statement
{standard input}:642: Error: junk at end of line, first unrecognized character is `('
{standard input}:778: Error: found '(', expected: ')'
{standard input}:778: Error: found '(', expected: ')'
{standard input}:778: Error: non-constant expression in ".if" statement
{standard input}:778: Error: junk at end of line, first unrecognized character is `('
{standard input}:999: Error: found '(', expected: ')'
{standard input}:999: Error: found '(', expected: ')'
{standard input}:999: Error: non-constant expression in ".if" statement
{standard input}:999: Error: junk at end of line, first unrecognized character is `('
{standard input}:1087: Error: found '(', expected: ')'
{standard input}:1087: Error: found '(', expected: ')'
{standard input}:1087: Error: non-constant expression in ".if" statement
{standard input}:1087: Error: junk at end of line, first unrecognized character is `('
{standard input}:1182: Error: found '(', expected: ')'
{standard input}:1182: Error: found '(', expected: ')'
{standard input}:1182: Error: non-constant expression in ".if" statement
{standard input}:1182: Error: junk at end of line, first unrecognized character is `('
{standard input}:1263: Error: found '(', expected: ')'
{standard input}:1263: Error: found '(', expected: ')'
{standard input}:1263: Error: non-constant expression in ".if" statement
{standard input}:1263: Error: junk at end of line, first unrecognized character is `('
{standard input}:1323: Error: found '(', expected: ')'
{standard input}:1323: Error: found '(', expected: ')'
{standard input}:1323: Error: non-constant expression in ".if" statement
{standard input}:1323: Error: junk at end of line, first unrecognized character is `('

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

Attachment: .config.gz
Description: application/gzip