mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@infradead.org>
To: kernel test robot <lkp@intel.com>, Christoph Hellwig <hch@lst.de>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Jens Axboe <axboe@kernel.dk>, Hannes Reinecke <hare@suse.de>
Subject: Re: arch/ia64/include/uapi/asm/siginfo.h:15:27: error: expected ':', ',', ';', '}' or '__attribute__' before '.' token
Date: Sun, 30 May 2021 07:37:32 -0700	[thread overview]
Message-ID: <ddd58e03-2f30-101a-d4b1-3304cc9212e6@infradead.org> (raw)
In-Reply-To: <202105301826.MwSrFnm9-lkp@intel.com>

On 5/30/21 3:07 AM, kernel test robot wrote:
> Hi Christoph,
> 
> FYI, the error/warning still remains.
> 
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head:   b90e90f40b4ff23c753126008bf4713a42353af6
> commit: 8cad3b66bff4ee7c7d52b9a663cb6a2c5f66a7f7 Buslogic: remove ISA support
> date:   8 weeks ago
> config: ia64-allyesconfig (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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8cad3b66bff4ee7c7d52b9a663cb6a2c5f66a7f7
>         git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
>         git fetch --no-tags linus master
>         git checkout 8cad3b66bff4ee7c7d52b9a663cb6a2c5f66a7f7
>         # 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@intel.com>
> 
> All errors (new ones prefixed by >>):
> 
>    In file included from include/uapi/linux/signal.h:6,
>                     from include/linux/signal_types.h:10,
>                     from include/linux/sched.h:30,
>                     from arch/ia64/include/asm/hw_irq.h:11,
>                     from include/linux/irq.h:589,
>                     from arch/ia64/include/asm/hardirq.h:19,
>                     from include/linux/hardirq.h:10,
>                     from include/linux/interrupt.h:11,
>                     from drivers/scsi/BusLogic.c:27:
>>> arch/ia64/include/uapi/asm/siginfo.h:15:27: error: expected ':', ',', ';', '}' or '__attribute__' before '.' token
>       15 | #define si_flags _sifields._sigfault._flags
>          |                           ^
>    drivers/scsi/FlashPoint.c:43:6: note: in expansion of macro 'si_flags'
>       43 |  u16 si_flags;
>          |      ^~~~~~~~

> vim +15 arch/ia64/include/uapi/asm/siginfo.h
> 
> 43e40f25d2c0903 David Howells 2012-10-09  13  
> 43e40f25d2c0903 David Howells 2012-10-09  14  #define si_imm		_sifields._sigfault._imm	/* as per UNIX SysV ABI spec */
> 43e40f25d2c0903 David Howells 2012-10-09 @15  #define si_flags	_sifields._sigfault._flags
> 43e40f25d2c0903 David Howells 2012-10-09  16  /*
> 43e40f25d2c0903 David Howells 2012-10-09  17   * si_isr is valid for SIGILL, SIGFPE, SIGSEGV, SIGBUS, and SIGTRAP provided that
> 43e40f25d2c0903 David Howells 2012-10-09  18   * si_code is non-zero and __ISR_VALID is set in si_flags.
> 43e40f25d2c0903 David Howells 2012-10-09  19   */
> 43e40f25d2c0903 David Howells 2012-10-09  20  #define si_isr		_sifields._sigfault._isr
> 43e40f25d2c0903 David Howells 2012-10-09  21  
> 
> :::::: The code at line 15 was first introduced by commit
> :::::: 43e40f25d2c090392fc36cb900b42972e88cc2e2 UAPI: (Scripted) Disintegrate arch/ia64/include/asm
> 
> :::::: TO: David Howells <dhowells@redhat.com>
> :::::: CC: David Howells <dhowells@redhat.com>


Patch is here:
  https://lore.kernel.org/linux-scsi/b631c661-44fa-57f5-6540-1721f3df61e8@suse.de/T/#ma8097b011095a7b4cc73381f45312eb634166187


-- 
~Randy
https://people.kernel.org/tglx/notes-about-netiquette

      reply	other threads:[~2021-05-30 14:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-30 10:07 kernel test robot
2021-05-30 14:37 ` Randy Dunlap [this message]

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=ddd58e03-2f30-101a-d4b1-3304cc9212e6@infradead.org \
    --to=rdunlap@infradead.org \
    --cc=axboe@kernel.dk \
    --cc=hare@suse.de \
    --cc=hch@lst.de \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@intel.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®