From: kernel test robot <lkp@intel.com>
To: Paul Burton <paul.burton@mips.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: {standard input}:162: Error: found '(', expected: ')'
Date: Fri, 2 Oct 2020 00:14:02 +0800 [thread overview]
Message-ID: <202010020059.lhD9Cckr-lkp@intel.com> (raw)
[-- 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 --]
reply other threads:[~2020-10-01 16:15 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=202010020059.lhD9Cckr-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=paul.burton@mips.com \
/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
all inboxes | Powered by JetHome®