All of lore.kernel.org
 help / color / mirror / Atom feed
* {standard input}:162: Error: found '(', expected: ')'
@ 2020-10-01 16:14 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-10-01 16:14 UTC (permalink / raw)
  To: Paul Burton; +Cc: kbuild-all, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 9024 bytes --]

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@intel.com>

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@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 20120 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* {standard input}:162: Error: found '(', expected: ')'
@ 2020-10-01 16:14 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-10-01 16:14 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 9187 bytes --]

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@intel.com>

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(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 20120 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-10-01 16:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-01 16:14 {standard input}:162: Error: found '(', expected: ')' kernel test robot
2020-10-01 16:14 ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.