Messages in this thread |  | | Subject | Re: arch/ia64/include/uapi/asm/siginfo.h:15:27: error: expected ':', ',', ';', '}' or '__attribute__' before '.' token | From | Randy Dunlap <> | Date | Sun, 30 May 2021 07:37:32 -0700 |
| |
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
|  |